Project

General

Profile

« Previous | Next » 

Revision f901d8b7

Added by Katja Luther over 6 years ago

disable content filter in ckEditor to avoid deleting of html tags

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
796 796
	 * @return the text widget
797 797
	 */
798 798
	public RichTextEditor createRichTextEditor(Composite parent, String value, int style) {
799
		RichTextEditor text = new RichTextEditor(parent, super.getBorderStyle() | style | orientation);
799
		RichTextEditorConfiguration config = new RichTextEditorConfiguration();
800
		config.setOption("allowedContent", Boolean.TRUE);
801
		RichTextEditor text = new RichTextEditor(parent, config, super.getBorderStyle() | style | orientation);
802
		
800 803
		if (value != null)
801 804
			text.setText(value);
802 805
		text.setForeground(getColors().getForeground());

Also available in: Unified diff