Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

HTML Source Formatting


Reply

2 Posts   1042 Views

Avatar
quamsta

2 July 2008 at 9:47am Community Member, 29 Posts

I've been investigating the pros and cons of using SilverStripe for a decently-sized site and I'm practically sold except for one tiny thing:

The HTML source editor removes newlines and/or formatting from any posts created with the WYSIWYG editor. I've searched for solutions everywhere.

I tried changing some of the TinyMCE settings (which included a very promising--but ultimately a dead end-- configuration option:[url=http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/apply_source_formatting] apply_source_formatting[/url].)

Am I just not seeing an easy fix to this issue? The web developers I work with would definitely prefer editing HTML tables, etc. in the source code editor. Without source code formatting or even newlines, this becomes nearly impossible!

Thanks.

Avatar
Willr

2 July 2008 at 10:58am Forum Moderator, 5511 Posts

There is a ticket to update tiny_mce to version 3. Also to add source formatting using the codepress plugin - see http://open.silverstripe.com/ticket/2134. V3 of tinymce is much cleaner and you will be able to configure it alot better.

This is targeted towards the 2.3 release so that will be out in a couple months at least Im guessing..