Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13674 closed Task (invalid)

How to change enterMode & shiftEnterMode in <figcaption> tag

Reported by: Donnie Nguyen Owned by:
Priority: Normal Milestone:
Component: UI : Enter Key Version:
Keywords: Cc:

Description

Hi,
How can i change enterMode & shiftEnterMode in <figcaption> tag, like blockquote or ul/ol ( im not using widget or image2 plugin )

HTML code in the editor

<figure>
    <img src="" alt="">
    <figcaption>lorem ipsum</figcaption>
</figure>
<p><br></p>

I want when im editing text in <figcaption> if i press 'enter' key, the caret will go outside of <figure>. Similar with <blockquote> or <ul>, but do not have to press 'enter' key twice.

Many thanks & really sorry for my english !

Change History (2)

comment:1 Changed 4 years ago by Jakub Ś

Keywords: enterMode shiftEnterMode removed
Resolution: invalid
Status: newclosed
Version: 4.5.2

This is not the right place to ask questions. This is bug tracker.

For community support try posting a question on http://stackoverflow.com/tags/ckeditor


NOTE: You can't assign specific enter mode to specific element. You could try using widgets but enter mode is based on ACF assigned to that widget's editable e.g. if you want to use EnterMode_BR then you should not allow P or DIV inside that editable.

comment:2 in reply to:  1 Changed 4 years ago by Donnie Nguyen

Thank you !

Replying to j.swiderski:

This is not the right place to ask questions. This is bug tracker.

For community support try posting a question on http://stackoverflow.com/tags/ckeditor


NOTE: You can't assign specific enter mode to specific element. You could try using widgets but enter mode is based on ACF assigned to that widget's editable e.g. if you want to use EnterMode_BR then you should not allow P or DIV inside that editable.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy