Added CodeMirror to code areas all accross JCB #308
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#308
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull Request for Issue gh-305 .
Summary of Changes
Changed all/most textarea fields to editor fields with codemirror.
Testing Instructions
Open all areas that has custom code areas and check if the values are editable and gets saved correctly.
Expected result
That this transition from textarea fields to editor will improve JCB custom scripting.
Actual result
New feature
Documentation Changes Required
Well now we should have better control over the custom code, and so it should make things easier. We may need to make a tutorial to help those who do not know how to customize codemirror.
@Llewellynvdm I am still getting issues with the new editor. Checkout the dynamic get area, some of those php fields will not submit.
I am working on this... very strange.
To me it is clear that codemirror has been broken with the last update of Joomla. I have used other code editors and with it the issue is resolved. At this point I think we need to roll back this update/release until codemirror gets fixed, so gh-305 will have to wait.
Two options going forward, revert back to textarea, or just default the editor to none for now as default. There is also the option to tweak the editor with a global switch in the global options of the JCB component.
This look great! I will run a few test. What do you think about gh-312
I also got the same error:
I am looking into it as we speak.