[WontAdd] Sticky "Source",tick box or other functionality to preserve source code

Kendall Q Morrison
Offline
Topics: 5
Replies: 7
Joined: 11/12/2012

With some pages we have, the source code gets mangled in the source preview mode. Upon loading a page to edit, the default is preview mode and when clicking on "Source" the code gets rewritten. Generally, paragraph tags are added around code snippits. We realize that there may be limitations based on the external library editor, but would there be a way to either make the "Source" button sticky or if not, could there be a tag <plit> </plit> (pages literal) that could preserve the code inside from external editor modification? Or maybe a checkbox: Only edit in "Source" mode?


gPowerHost

20/08/2014 17:42:07

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

This is unfortunatley a limitation of the editors used. We do however have the option to just have a plain textbox and no editor, which sounds like it may be the best solution for you if you are adding source code (thats how we use it).

Defaulting the source im not even sure if its possible (definatley not in at least 2 of the editor options) and if it was it would still mangle to content as it would load first, then switch to code view which is the same problem.


Director at No Half Pixels Ltd.

23/08/2014 19:00:18

Kendall Q Morrison
Offline
Topics: 5
Replies: 7
Joined: 11/12/2012

Thank you!
I suspected the the editors would be the limitation. Is there the ability to select No editor on a page basis, or is it all or nothing? 


gPowerHost

23/08/2014 19:11:48

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

its all or nothing at the minute, might consider it in future versions though.


Director at No Half Pixels Ltd.

23/08/2014 19:13:51