Opened 12 years ago
Last modified 10 years ago
#9814 confirmed Bug
Inline editor with css property "display:none" — at Initial Version
Reported by: | buren | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Webkit Blink | Cc: |
Description
If rendered as below contenteditable will be set to false automatically (I guess by ckeditor). However if I set the div #my-id as visible with javascript and at the same time set contenteditable back to true the editor will still be in readonly mode. (Sometimes I can for some reason use copy-paste to enter text to the editor but I can't write regularly with the keyboard.)
Sent by the server: <div id="my-id" style="display:none;">
<h3 contenteditable="true">Header</h3>
</div>
After page render by the browser (it changed contenteditable to false): <div id="my-id" style="display:none;">
<h3 contenteditable="false" class="ck-editable cke_editable cke_editable_inline cke_contents_ltr cke_focus"" spellcheck="false">Header</h3>
</div>
After my custom javascript (removes display:none & sets h3 tag to contenteditable="true"): <div id="my-id" style="display:none;">
<h3 contenteditable="true" class="ck-editable cke_editable cke_editable_inline cke_contents_ltr cke_focus"" spellcheck="false">Header</h3>
</div>