-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #5969 Show readonly code editor field on detail page (Radu Cr…
…istescu, Uplink03) This PR was squashed before being merged into the 4.x branch. Discussion ---------- Show readonly code editor field on detail page This patch adds a read-only CodeMirror for CodeEditorField on the detail page. Assets rebuilt with `make build-assets`. ## ~Problems with this PR~ ~`@javiereguiluz` I need some help, if you don't mind.~ ~Unfortunately, I can't get good results from `yarn build`, so this PR is a draft until I figure that out. The patch works even without a rebuild, but a build is necessary to make the CodeMirror editor read-only.~ ~When I run `yarn build`, the following problems occur:~ - ~`WARNING The value passed to setPublicPath() should *usually* start with "/" or be a full URL (http://...). If you're not sure, then you should probably change your public path and make this message disappear.`~ - ~The `manifest.json` file refers to paths that start with `/`, therefore the browser just gets _404_ for everything.~ - ~Removing the leading `/` manually makes JS and CSS load again, but everything (and I mean everything rendered by EasyAdminBundle) is RTL, and the CodeEditor field doesn't accept input, and I'm also missing fonts~ Commits ------- db3201e Show readonly code editor field on detail page
- Loading branch information
Showing
6 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rces/public/field-code-editor.8988bf27.js → ...rces/public/field-code-editor.6507533d.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters