Opened 18 years ago
Last modified 15 years ago
#828 closed New Feature
Introduce configurable, non-editable, wrapping XHTML — at Initial Version
Reported by: | Martin Kou | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF | Cc: |
Description
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