2. I have a site using Gutenburg and this used to work but it now shows a message saying it is not supported with my site. I tried making another block and it seems to work but might stop again without notice. Also, all my FAQ’s are gone and I have to re-write them.
]]>I would like to see an API and explanation about how this could be used by any other widget-extension.
Please do also add support for multiple fields in one widget.
I don’t know how the RTE really works – but I would like to have something like this:
Using this you would not have to create your own save-function in the backend but just use the one provided by wordpress.
I think this would also simplify the plugin – at least on the PHP-side
Please drop me a mail if you need help here.
Bye
Simon
https://www.ads-software.com/extend/plugins/rich-text-widget/
]]>publish_post
hook.
I need to capture the contents of the new post created, what is present in the rich text editor.
when i make a die(var_dump($_POST)), i get [‘content’] and [‘post_content’] with the exact same value. That value is close to what i am looking for, but it discards the html formatting.
How can i get the exact HTML that is going to be published by wordpress?
Thanks
]]>I’m trying to set up a multiple-field admin page for my plugin, which inputs information into a database.
I have a few input fields which will need TinyMCE; a few input fields which won’t need TinyMCE then a few fields which should be small (they will only be ~3 or 4 words at the most) but will still require the use of bold and italics.
Does anyone know if it’s possible to do this? I can use “the_editor” function to display a TinyMCE textarea, but I can’t seem to change its default size.
]]>Seems the RTE is broke. Any help is appreciated
Thanks
]]>In spite of the checked option for iframe (full support)
using the Visual tab in TinyMCE / RTE / rich text editor will result in the Google Maps “embed code” iframe being stripped out.
I realize KSES is about what is alowed by WordPress to be saved as post/page content but this plugins description suggest that it will make TinyMCE not strip it either. This is not the case…
Steps to reproduce:
1. Activate Extend KSES and check iframe (full support)
2. Go to Google Maps and get an iframe embed code for any map
3. Edit a post in HTML view and paste that code in content
4. Switch to Visual view and see the map being rendered inside the content pane
5. Switch back to HTML view and notice the iframe has been stripped!
To make TinyMCE not strip iframe stuff, I found some helpfull code suggested by user:eswhite at the end of https://www.ads-software.com/support/topic/google-maps-iframe-deleted-with-tinymce-and-advanced-tinymce (closed thread)
add_filter('tiny_mce_before_init', create_function( '$a','$a["extended_valid_elements"] = "iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]"; return $a;') );
The code pasted in functions.php works. Maybe it can be used in this plugin too? To make it do what it says on the box, so to speak
]]>Is it possible to add custom styles to the styles dropdown in the RTE/WYCIWYG?
Been googling for a solution but I can’t seem to narrow it down to the core of the problem.
Thanks in advance
]]>This leads me to believe that there is something wrong with the JS. What files in particular should I be looking at to fix the problem? Is there something else that might be causing this?
BTW, I know it isn’t the browser. I use FF3 but I tried IE7 as well, and that doesn’t work for my admin tool.
Any help would be strongly appreciated.
]]>My css file can be viewed here => ./wp-content/themes/default_II/style.css
If anyone has an idea of what is wrong, please enlighten me. I’m at my wit’s end. Thank you,
Glenn
my website => Grumpy’s Holy Grail.com