I have integrated CKEditor 3.01 into my Drupal 7 site via the WYSIWYG module from Drupal. It works really well, just one thing doesn't seem to work, see attached screenshot.
When marking text and making that bold, that can't be reverted. Other properties like "italic" or "underline" can be undone, but not bold. What works however is to sleect the bold text and use the rubber instead to remove markup.
When marking text and making that bold, that can't be reverted. Other properties like "italic" or "underline" can be undone, but not bold. What works however is to sleect the bold text and use the rubber instead to remove markup.
Re: Unsetting Bold doesn't work
In the config file you can set a list of tags that are removed when clicking on the 'remove format' button.
Here is a link to the API :
http://docs.cksource.com/ckeditor_api/s ... FormatTags
According to the API, the bold ( <B> ) tag is present in this list by default. Perhaps displaying the source code would help.
Check that there is a <B> tag surrounding your word and that the source is well formed.
In the past I had some similar problems with text pasted from Word.
Re: Unsetting Bold doesn't work
The text is manually edited and I can reproduce it with just a couple of word like in the screenshot. The content is well-formed and the text is surrounded by <strong>, not <b>. And removing the <strong> by clicking on the "B" icon again, that's what isn't working.
Re: Unsetting Bold doesn't work
It is not just "Bold", it is all the other styles as well that can't be undone. But only under certain circumstances. Here is how to reproduce the effect:
1) Have some text in a Drupal node and go to the edit form.
2) Mark some text and click one of the style buttons (Bold, Italic or Underline)
3) While in the form, click on the same style button again and you can revert the styling to blank. So that's working OK.
4) Now save the node while some of the text is styled, e.g. as Bold
5) Go to the edit form again. So far, all looks similar as before but you can't remove the styling from the selected text anymore
In other words, the problem is only visible when reloading the text into the editor and trying to undo some of the styling.
Does that further help to explain the problem?