Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have alot of content inside psd files. When this text data is copied into a Rich Text editor it put the content inside a <pre> tag. Is there a way i can force it to create <p> tags instead?
Try to include pre inside <invalidElements> section of tinyMceConfig.config file located under "config" folder.
You can also check the following topic:
http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-%28tinymce%29/allow-any-markup-in-the-tinymce-editor
Remember to "touch" your web.config file to make Umbraco reload it's configuration.
Bye!Ivan
thanks. I did as you suggested and it worked.
<invalidElements>font, pre</invalidElements>
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
tinymce is putting content in <pre> tag
I have alot of content inside psd files. When this text data is copied into a Rich Text editor it put the content inside a <pre> tag. Is there a way i can force it to create <p> tags instead?
Try to include pre inside <invalidElements> section of tinyMceConfig.config file located under "config" folder.
You can also check the following topic:
http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-%28tinymce%29/allow-any-markup-in-the-tinymce-editor
Remember to "touch" your web.config file to make Umbraco reload it's configuration.
Bye!
Ivan
thanks. I did as you suggested and it worked.
<invalidElements>font, pre</invalidElements>
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.