pwired Posted May 10, 2015 Share Posted May 10, 2015 I still have a few old websites with Tiny MCE inside processwire. When I edit body content I sometimes prefer to use the html source editor e.g. to edit a html table. However all html code show up inside the source editor wrapped over the editor. This makes code difficult to read. How can I configure Tiny MCE so that html code inside the source editor show up as lines of code stacked vertically with line breaks like in a code editor ? Link to comment Share on other sites More sharing options...
pwired Posted May 10, 2015 Author Share Posted May 10, 2015 So far I found it: wire/modules/Inputfields/InputfieldTinyMCE/InputfieldTinyMCE.js apply_source_formatting: true, Code inside Tiny MCE html source editor no longer looks like a blob of code but lined up vertically. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now