Jump to content

Tiny MCE question


pwired
 Share

Recommended Posts

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

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...