Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item9199: Don't offer colours that have no TML representation

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Closed Extension TinyMCEPlugin Main.PaulHarvey
TinyMCEPlugin's colour dialogue offers lots of colours that end up as <font... tags. In the spirit of working towards a WYSIWYG experience that doesn't needlessly contaminate TML documents with such mess, I am removing the extra colours.

I also seem to recall some mysterious table bugs related to <font tags and tml/html conversion, but am unable to reproduce atm.

Probably related to the fact that <font is deprecated and TinyMCE development is moving towards explicitly unsupporting deprecated HTML constructs, although we do run with the legacyoutput plugin enabled to mitigate this.

-- PaulHarvey - 25 Jun 2010

Before I start, I should probably get some thoughts from the WysiwygTaskTeam, so set you all in the WaitingFor smile

-- PaulHarvey - 25 Jun 2010

I think this needs a feature proposal. Some ideas off the top of my head:
  • A new tag that allows specification of any colour:
    • =%COLOR{red}% some text %ENDCOLOR%
    • =%COLOR{ff8833}% some text %ENDCOLOR%
    • =%COLOR{name="red" format="some text"}%
  • Proper support for div's and span's with user-defined classes or CSS
  • Living with the existing =<font> soup

-- MichaelTempest - 25 Jun 2010

Thanks Michael,

For 1.1 I think I will just separate the colours into two groups - standard and extended. That way, if the user cares, it should be easier to use this dialogue and avoid non-standard colours.

-- PaulHarvey - 25 Jun 2010

Grouped the colours into Standard vs Extended to make the distinction more obvious.

-- PaulHarvey - 28 Jun 2010
 

ItemTemplate edit

Summary Don't offer colours that have no TML representation
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
CurrentState Closed
WaitingFor PaulHarvey
Checkins Foswikirev:7948 Foswikirev:7952 Foswikirev:7954 Foswikirev:7955
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r9 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License