User tests: Successful: Unsuccessful:
Pull Request for Issue #35096 .
Use IntersectionObserver to refresh Codemirror when it become visible
Apply patch, run npm install
.
Add editor somewhere in hidden tab, example to Custom HTML module :
<field type="editor" name="editor_test" editor="codemirror" label="editor test" default="I am a text!"/>
Visit the module form, and click on tab with this editor.
Editor is empty
Editor should display a default text.
none
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change |
Labels |
Added:
?
NPM Resource Changed
|
I have tested this item
Make sure to refresh the browser cache when testing!
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-04 00:52:06 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
I inserted the field in Advanced tab of mod_custon.xml, went to Modules / New / Custom Html and the field is there with the default content. If I follow the instructions in #35096 i get the editor field with line number but not the default content. The gutter is wide and the typed text appears in the correct place. So, just the default text is missing.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36140.