cross is now running Foswiki 2.1.3 Beta 1. Please open a task for any issues.

Item9577: Wysiwyg protected styles not reflected in editor

Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: TinyMCEPlugin
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
Only with verbatim a watermark background shows the text state. It is useful to have this for the as protected marked texts as well (now you need to look at the style dropdown which style the text has).

-- ArthurClemens - 28 Aug 2010

Additional watermarks is a great idea.

However, the colour of the new watermarks (PROTECT ON SAVE, PROTECT FOREVER, LITERAL) is the same colour of the content (i.e. topic text). This makes the content harder to read because of reduced contrast.

The watermark text is smaller than the old verbatim one, which makes the watermark text harder to read. The old verbatim watermark used a much larger font which compensated for the lower contrast.

The PROTECT ON SAVE watermark is applied to spans, so the watermark text is only ever readable in large spans of whitespace. This particular watermark has hurt the legibility of the topic text to the extent that I have disabled it locally.

-- MichaelTempest - 28 Aug 2010

I have thought of making the watermark light gray but that will reduce instant recognizability. Perhaps a gray text with colored stripes works better.

I have used a smaller font so that the text is readable if the block is no higher than 1 line. With the previous large VERBATIM text you only saw the top of the word, and for the other blocks that do not have a padding this would be worse.

-- ArthurClemens - 28 Aug 2010

Thank you - PROTECT ON SAVE is now much better. I have enabled it again smile

The light blue also works for LITERAL.

I do find the red-on-blue from PROTECT FOREVER to be a bit harsh on the eye - perhaps because they are of similar brightness but almost opposite on a colour wheel?

-- MichaelTempest - 28 Aug 2010

I will change the PROTECT FOREVER red in the css.

-- MichaelTempest - 03 Sep 2010

We discussed the possibility of using chili's colours. However, the chili highlighting rules are for TML and they do not map well to the representation of TML within TMCE. In the end, I decided to change the PROTECT FOREVER text to a darker orange-red.

-- MichaelTempest - 03 Sep 2010


ItemTemplate edit

Summary Wysiwyg protected styles not reflected in editor
ReportedBy ArthurClemens
Codebase trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Closed
Checkins distro:bae458f81273 distro:d86209d5fc81 distro:aa678b1eaef6
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r11 - 04 Oct 2010, KennethLavrsen - This page was cached on 21 Jan 2017 - 22:35.

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