This can be a major issue on projects where a website conforms to a certain style.
Browse to the folderiw-home/httpd/iw/tinymce/config
(iw-home = Location of where TeamSite installed)
Open the file custom_config.js in a text editor. Now there are 2 options which you can consider;
1. Add options which will remove formatting of the TinyMCE to the existing default toolbars
2. Create a custom toolbar with the option of remove formatting
If you want to add to the options to the current toolbars, you would add pastetext, pasteword to the selected toolbar row
pastetext – will paste the selected content as text
pasteword – will paste the selected content with formatting, but in line with the style set out for the template
For information on how to modify the default TinyMCE toolbar, please refer to the blog – Configuring the default TinyMCE toolbar
You would create a custom toolbar along with adding pastetext,pasteword to the new toolbar.
For information on how to create a custom toolbar, please refer to the blog – Creating a custom toolbar in TinyMCE
Once you have applied one of the options you can also consider looking at modifying the plugin options with;
To customise these options you would add in code (file mentioned above) as the example shown below;
IWTinyMCECustomConfig(“my_custom_toolbar”, “paste_create_paragraphs”, false);
You should now be able to paste into a TeamSite DCT field which comprises TinyMCE with the option of formatted text or unformatted text.
We can also help with
Our dashboards allow you to spot trends in seconds. Customised by your business needs, you choose how our platform works for you.