So here I am, happily pasting content from my Wordpress site into Notepad, and then into Drupal when I notice that a story that I published loses it's bold formatting.

"What?" I say to myself. "Why doesn't this work? I'm using filtered html, which should let the strong HTML element through."

No dice. TinyMCE, for some reason, has made my bolds using the B tag, which is verboten in Filtered HTML. Now, I know that I could easily just allow the B tag to be used in Filtered HTML, but you know, I'd rather use strong. Oh, and also my paragraphs are just separated by BR's instead of being enclosed in P tags!

I searched here, and then went into TinyMCE's configuration file and added

$plugins['xhtml_helper'] = array();
$plugins['xhtml_helper']['theme_advanced_buttons1'] = array('helper');

to the config file in the hopes that that would somehow enable the editor to do what I wanted, but no such luck.

I loaded FCKEditor and found the same problem.

Anybody run into this?

Comments

ZippySLC’s picture

Upgrading to the latest dev version of the module and nightly build of TinyMCE didn't help, and now my "HTML" button brings me to a "page not found" when I try to view the story source.

ZippySLC’s picture

I see there was a patch for this (http://drupal.org/node/150032) but I'm not sure if the patch is referenced in post #14, or if it was something posted in #22 and then deleted in #23. I don't see anything in the Pending Patches repo for this module.

This is pretty confusing for a newbie like myself.

archard’s picture

I would recommend using BUEditor if you don't need a whole lot of formatting. It isn't a pain in the ass to work with like TinyMCE and actually does what you tell it to do.

ZippySLC’s picture

Well, the entire reason why I went with Tiny is that it worked with the IMCE module, which from what I gather from most people is the friendliest image manager for Drupal.

archard’s picture

BUEditor works with IMCE as well. I'm actually using that combo on my site with great results.

ZippySLC’s picture

I just took a look at it. I suppose that it's an option, although I don't like how you just see all of the code it produces and can only see things as they are going to be posted by clicking on the preview button.

Tiny would be perfect if it just handled things better.