Hi,

the attached patch allows you to enable or disable the function "format html-code" in html view.
Please test the patch.

CommentFileSizeAuthor
#1 tinymce_8.patch1.5 KBtreksler
tinymce_3.patch2.44 KBcreazion_dev

Comments

treksler’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev
StatusFileSize
new1.5 KB

Changes in this new patch

1) Cleaned up patch
2) Re-rolled against HEAD in CVS

PS
Questions (not really to do with this patch, but about the original code that this patch modifies):

1) Why do the defaults around lines 499 and 879 not match? not that it "really" matters, but they should match
2) Why is the settings form using drop downs!!! for binary options, reordering "true" and "false" options to set defaults (violating at least two core usability principles)

treksler’s picture

the only issue i see is that by default Drupal has line break to break tag conversion turned on and with tinymce source formatting turned on,
arbitrary breaks in the source can and will translate into arbitrary braks in the page view. perhaps this should default to off and have a message somewhere explaining where these breaks are coming from..... Source formatting is still so useful that this should get committed in one form or another....

treksler’s picture

hey,

it's been a few weeks and no feedback?
:(

pomliane’s picture

Status: Needs review » Closed (won't fix)

This version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.