Prince
Prince

Reputation: 1290

TinyMCE and HTML

I want to add Some HTML content inside TinyMCE and display preview of that but in preview it show like that.enter image description hereenter image description here

I want to display content as html.Any help would be appreciated.

Upvotes: 1

Views: 186

Answers (1)

lukeocom
lukeocom

Reputation: 3243

You need to go to the settings for your TinyMCE installation and configure it to allow you to enter html. You need to customise the toolbar and enable 'Edit HTML Source'. A html button will then appear when you edit a page. Click that to edit the html source...

You will also find settings so the rendered page displays as html or structured text etc...

Upvotes: 2

Related Questions