There may be an error with Text Formatting XHTML versus None in the custom Field Type selector WYSIWYG.
I’m not sure how best to describe this. But, it appears that the results of WYSIWYG field type are being processed by EE as if XHTML rather than NONE.
I’ve discovered this while editing a blockquote in LG TinyMCE. If I look at html in the editor, I see:
This is a paragraph before the blockquote
<blockquote>This is the blockquote paragraph</blockquote>
This is a paragraph after the blockquote
Which, is correct form. But, here’s what’s being rendered to the browser by EE:
This is a paragraph before the blockquote
<blockquote>
This is the blockquote paragraph
</blockquote>
This is a paragraph after the blockquote
The same effect can be duplicated by using EE’s First Party TinyMCE extension and choosing XHTML as the formatting type. By changing formatting type to NONE, the problem is eliminated.
So, it appears as if EE is processing the WYSIWYG LG field type output as if it were labeled XHTML. Does this make sense?
Hey R.BIRD,
When using a WYSIWYG editor the output should always be set to ‘none’. This is because the WYSIWYF editor is already adding the markup as you go. The latest version of LG TinyMCE automatically chooses ‘none’ for you so if your not using the latest I recommend upgrading.
Cheers Leevi
Try this…
Go to your custom field.. change the field format to text.. Then back to WYSIWYG and save. You might have had an older version that was not setting the formatting by default.
If that doesn’t work change the field type to textarea, change the formatting to none and then change the type back to WYSIWYG
Cheers
The first of your two suggestions did the trick.
How am I going to remember this one?!
Thank you very much.
+
(By the way, documentation on your website says the following:)
You shouldn’t have to 😊
I’ll add a note for those who are upgrading from a previous version to the latest that this is a set.. Time to add an upgrading section to the docs me thinks… Glad you got it working….
Can you add “SOLVED:” to the front of your post title so others who have this issue can see we came to a quick and simple resolution?
Cheers Leevi
I am really not sure how to tell. What I posted is what the folder was labeled.
I think this is the one I downloaded from this site:
Download old TinyMCE 2.1.3 stable
http://tinymce.moxiecode.com/download.php
I just followed the word “stable”, should I have done the 3.0 version.
Could you direct where and what I need to download and how I might go about upgrading if necessary?
Thank you very much!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.