Plugin Author
Josh
(@josh401)
Nonbreaking character button will be added to version 2.2
Thanks for the suggestion!
Yay! Looking forward to the new version.
Your plugin rocks :-). Love the fact that the buttons selection is so flexible and easy to set up – saves hours of explanations for less-than-technically-abled design customers…
Plugin Author
Josh
(@josh401)
Thank you, kindly!
I’ve already added the button in my testing environment.. and everything looks good to go. I’ll release a new version sometime in the next week.
Thanks again!
Tried the non-breaking space that came with the newest plugin update (thanks for adding this feature so amazingly quickly!).
One problem – once the post is saved in visual mode, the additional non-braking spaces are stripped and disappear. Is this a WP “feature”, and if so, is there anything I could add to functions.php or stop WP from removing these spaces in some other way?
Thanks!
Plugin Author
Josh
(@josh401)
I’ll need to dig into this. Gimme a day or two and I’ll post back here.
I have two suggestions for you. And I know that these are not perfect solutions. The way WP changes code is really frustrating.
1. Use a blank gif image for the spacing.
2. Use a plugin called “EmbedIt Pro by SuperThemes”
http://superthemes.org/blog/embedit-pro/
This plugin allows you to create HTML snipits that wordpress can’t mess with. You then insert them into the page with a short code. It is a real life saver.
Plugin Author
Josh
(@josh401)
Thanks for that!!
I was actually getting ready to get back into this particular issue. I’m thinking I can make a button which will insert the space. But, I think WP might treat this as a line break instead of a normal space.
Why, oh why, does WP assume we know nothing about content editing??
I’ll be experimenting with this shortly… and will have some news to report very soon!
It won’t work. WP will just strip it out. It also strips out the which is the same as .
I can’t tell you how much this pisses me off. There needs to be something like putting a tag around code that WP can’t touch. If I was a programmer, I would write something.
Like this:
{literal}
Leave my frickin code alone!!!!!
{/literal}
Plugin Author
Josh
(@josh401)
lmmfao…. yep, right there with ya!!
Could we not prevent this “stripping” by altering one of the custom hooks or filters? Or add it as an extended valid element?
http://codex.ww.wp.xz.cn/TinyMCE
There are literally tons of tinymce initialization options:
http://www.tinymce.com/wiki.php/Configuration
Thoughts???
I kind of gave up. That why the EmbedIt plugin is so nice. It let’s me leave the wysiwyg editor in place for the client, but when I need to customize something for him like a table, iframe, etc, WP will leave that alone since it is basically using it like a server side include.