New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item9952: Bold & italics buttons aren't working with WysiwygPlugin

Priority: Urgent
Current State: Closed
Released In: 1.1.2
Target Release: patch
Applies To: Extension
Component: TinyMCEPlugin
Reported By: PaulHarvey
Waiting For: Main.PaulHarvey
Last Change By: KennethLavrsen
Okay, so this isn't a show-stopper for everybody, but I set to Urgent because it's very high visibility bug - users expect their formatting button state to reflect the formatting of the text the cursor is in.

There seems to be a problem with TinyMCE's legacyoutput plugin (again) which allows <b> and <i> tags to continue working.

Steps to reproduce:
  1. Set text to bold or italics. Re-positioning the cursor onto and away from the changed text shows the buttons correctly change their state. DOM inspector shows that bold and italics buttons have set <b> and <i> tags.
  2. Switch to raw, and back to wysiwyg
  3. DOM inspector shows these as <strong> and <em> tags, and TinyMCE bold/italics buttons refuse to change state.

-- PaulHarvey - 04 Nov 2010

Confirmed. Disabling legacyoutput fixes this problem (but would create others).

-- PaulHarvey - 04 Nov 2010

Existing bug is 3036896

-- PaulHarvey - 04 Nov 2010

Issued a pull request. We have patched this locally, in trunk. Next update will require us to remember to re-patch. Updating TinyMCEPlugin with this note, but hopefully moxiecode accept the pull request soon.

-- PaulHarvey - 04 Nov 2010

I assume the actions for 1.1.2 are done now that I have merged over all to Release01x01 from trunk.

Putting in WaitingForRelease

-- KennethLavrsen - 09 Nov 2010


ItemTemplate edit

Summary Bold & italics buttons aren't working with WysiwygPlugin
ReportedBy PaulHarvey
Codebase 1.1.1, trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState Closed
WaitingFor PaulHarvey
Checkins distro:aca0f25fad68 distro:4d8a71083963 distro:9ea95febcf3a
TargetRelease patch
ReleasedIn 1.1.2
Topic revision: r9 - 10 Nov 2010, KennethLavrsen - This page was cached on 20 Sep 2018 - 05:43.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy