I'm using Wordpress with TinyMCE.
What a piece of junk TinyMCE is!
TinyMCE reformats my HTML, including by removing all of the p tags. I've even chosen the wordpress option to have it to not do that. Doesn't work.
Sometimes, TinyMCE doubles sections of content or completely changes the HTML source to be totally broken.
How can I replace TinyMCE with TEXTAREA? I just want to type my HTML code in and not have it be damaged by the plugin.
Related
In my site wordpress post pages these closing shortcode tags:
[/vc_column_text][/vc_column][/vc_row]
are displaying as text.
How to remove this?
Those are shortcodes from Visual Composer, check that your WYSIWYG hasn't encoded them through the visual editor instead of the text editor.
If you switch to text mode you may see something like:
%20%5B%2Fvc_column_text%5D%5B%2Fvc_column%5D%5B%2Fvc_row%5D
Simply replace it with what's rendered in your browser in text mode and save.
I'm having a problem in including embedded post in a Joomla! article. I'm using the TinyMCE editor.
Steps I have followed :
In Text Filter Settings for Super User - No filtering
In TinyMCE settings - remove script and Iframe tag from "Prohibited Elements".
I'm not able to add Pinterest code:
<a data-pin-do="embedPin" data-pin-width="medium" href="https://uk.pinterest.com/pin/dfg/"></a>
It's likely that the code is getting stripped out because the link is not wrapped around any text. You could possibly add inside the link. However, I would suggest using the "None" editor when adding embed code to your posts. I use Switch Editor to quickly change editors.
Switch to "None"
Add the embed code
Save the article
Switch back to your favorite WYSIWYG editor to edit other articles
I'm using USP-Pro to let users post to a Wordpress blog. I have a textarea input in which they should put the main post content - the one that appears in the Wordpress admin editor. I'd like to keep the text formatting once they submit the form so I'm using CKEditor for that textarea.
CKEDITOR.replace('usp-content');
Checking the textarea with Firebug while I input the text shows that there actually is some HTML code inside, but when the form is submitted, in the editor I just see the raw text, without any formatting, which is pretty annoying because I lose all the spaces, the new lines and so on.
EDIT:
After various attempts I discovered that the problem is in the Wordpress function wp_strip_all_tags, inside the file wp-includes/formatting.php. I tried to comment it and it actually posted the content correctly with all the html in place.
Of course I can't just comment the whole function. How can I tell Wordpress to not use it when submitting such posts?
I am creating Wordpress multilanguage site and using qTranslate plugin for that. For inserting the content, every language has its own visual/HTML input field within Wordpress TinyMCE editor. The problem is that editor "eats" my <span> tags, such as auto-formats <br> and <p> tags!
Also, I tried TinyMCE Advanced, but with no effect. After saving the page/post, <span> tags just disappear from content. Does anyone knows what cause this problem?
You might need to set Spans as valid_elements.
I recently started developing websites on wordpress. I have this problem with tinymce editor. When i write post and format content it looks how I want in it. But when I publish post and check that it looks really crappy.Then I called the stylesheet of tinymce editor on everypage of website. I must say there is change but it still looks bad.
How can I get content in exact formatted way as I see in the tinyMCE?
Thanks,
kiran
On the frontend the styles from your theme will be taking precedence over the layout and sizing of content.
In the administration section it will be using a default TinyMCE editor css file. This allows for Wordpress to easily support a variety of themes without making many changes.
So that leaves you with the potential inconsistency, which you have identified here.
Either you work with the WYSIWYG editor giving you an approximation or you could add the relevant styles from your theme to the editors CSS. This can be done using add_editor_style() DOCs.
Use this WordPress plugin to solve your problem.
Specific CSS/JS for Posts and Pages