This question about Missing functionality: Answered

Is it possible to (dis-)allow specific HTML-tags?

Some client would like to disallow their editors to use specific (font-formating) HTML-tags. Is there a config-line for that I can trigger or isn't that possible at all?


TinyMCEPlugin (for the WYSIWYG editor) contains a section "Settings" where buttons can be removed from the interface.

Still it would be possible to use the "Raw edit" button and write HTML tags. But for most users it a reduced settings interface would work.

-- ArthurClemens - 27 Jan 2009

If you want to - lets say - allow the p-tag, but not the table-tag, you can / have to make a new plugin.

-- OliverKrueger - 28 Jan 2009

There is no general solution that allows you to disallow specific tags.

It's a bit beyond me why you would want to, to be honest. Modern browsers support all the tags Foswiki (or TWiki) will use. Editors shouldn't ever be working in raw HTML. So why do you care?

-- CrawfordCurrie - 05 Feb 2009

First it's not me who cares but the chief-maintainer of the content. Editors shouldn't be working in raw html - but they do, as they are used to that. frown, sad smile But thanks for the hint to the "settings" of the TinyMCEPlugin! I will do it that way.

-- JanDreyer - 09 Feb 2009

QuestionForm edit

Subject Missing functionality
Version TWikiRelease04x02x01
Status Answered
Topic revision: r6 - 09 Feb 2009, JanDreyer - This page was cached on 03 Jun 2020 - 22:46.

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