#2403: Enforce EnterMode
--------------------------------+-------------------------------------------
 Reporter:  neilj               |       Owner:                 
     Type:  New Feature         |      Status:  new            
 Priority:  Normal              |   Milestone:                 
Component:  UI : Enter Key      |     Version:  SVN (FCKeditor)
 Keywords:  Confirmed HasPatch  |  
--------------------------------+-------------------------------------------
Changes (by robmueller):

 * cc: robmueller (added)


Comment:

 I've updated the patch with the following changes.

 1. It's checking FCKConfig for the option, not the incorrect FCKEditor

 2. If hit Enter in a block and the block you're in is the same as the
 EnterMode block tag to create, then it clones the current block tag
 instead of creating a new one.

 The main reason for this is if you set the justification on a block (eg.
 style="text-justification: right"), or direction (eg dir="rtl"), then that
 should be cloned to the next block/line when you hit Enter even if
 ForceEnterMode is on

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2403#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to