Opened 9 years ago
Closed 9 years ago
#16693 closed Bug (invalid)
CKEDITOR.disableAutoInline does not work
| Reported by: | wkhessairi | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
Steps to reproduce
- prepare a page which body is like:
<body style="height: 100%;" contenteditable="true">
- in this DOM, add a textarea element:
<textarea class="textarea" name="composerInput" id="composerInput" rows="10" cols="30" contenteditable="true" title="What_Are_You_Working_On" style="display: none;"></textarea>
- add CKEDITOR to this textarea element:
CKEDITOR.disableAutoInline = true; CKEDITOR.inline('composerInput',{ ... //config here });
Expected result
when loading the page, only textarea element is editable with CKEDITOR
Actual result
all the elements in "<body>" are editable
Change History (2)
comment:1 Changed 9 years ago by
| Keywords: | disableAutoInline added |
|---|
comment:2 Changed 9 years ago by
| Keywords: | disableAutoInline removed |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |

The
disableAutoInlineprevents only auto-creating inline editor on editable element but it doesn't prevent elements from being editable.If you don't want body to be editable, please don't put
contenteditable="true"there.