Opened 7 years ago

Closed 7 years ago

#16693 closed Bug (invalid)

CKEDITOR.disableAutoInline does not work

Reported by: wkhessairi Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


Steps to reproduce

  1. prepare a page which body is like:
    <body style="height: 100%;" contenteditable="true">
  1. 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>
  1. 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 7 years ago by wkhessairi

Keywords: disableAutoInline added

comment:2 Changed 7 years ago by Jakub Ś

Keywords: disableAutoInline removed
Resolution: invalid
Status: newclosed

The disableAutoInline prevents 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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy