Opened 12 years ago

Closed 9 years ago

#828 closed New Feature (fixed)

Introduce configurable, non-editable, wrapping XHTML

Reported by: aemi@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc:

Description (last modified by Martin Kou)

Configurable, non-editable, wrapping sections above and below the editable area would allow for true WYSIWYG experience.

Imagine the css style selector for a <p> element that only applies for the particular <div class="myDiv"> element:

div.myDiv p { font-weight: bold; }

Configuration options like

FCKConfig.EditorAreaHtmlPre
FCKConfig.EditorAreaHtmlPost

would allow to wrap the editor area. These wrapping code snippets should not be editable by the editor. This way, the style sheet rules would be applied and real WYSIWYG could be realized.

As a side note, just inserting the editable text with these code snippets upon load and removing them upon save is not reliable, since the user can change the code in many ways, e.g. by pressing Ctrl+A, Delete.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1232800&group_id=75348&atid=543656

Change History (2)

comment:1 Changed 12 years ago by Martin Kou

Description: modified (diff)
Reporter: changed from Martin Kou to aemi@…

comment:2 Changed 9 years ago by Garry Yao

Resolution: fixed
Status: newclosed

This should become possible after #3593.

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