Skip to main content



      Home
Home » Eclipse Projects » Nebula » RichTextEditor: Table-Tags are removed when set in editor?
RichTextEditor: Table-Tags are removed when set in editor? [message #1791345] Thu, 28 June 2018 05:30 Go to next message
Eclipse UserFriend
Hi,
i'm using the RichTextEditor in RAP.

When setting a text (RichTextEditor.setText(String)) which contains a HTML-table all table-related tags (table, tr, th...) are removed.

Is this the expected behaviour?

My version obviously supports tables, because i can copy&paste them into the editor.
Re: RichTextEditor: Table-Tags are removed when set in editor? [message #1791357 is a reply to message #1791345] Thu, 28 June 2018 07:20 Go to previous message
Eclipse UserFriend
Well, the setText() method simply calls the javascript method on the CKEditor instance setData(). And even insertHTML() called on the CKEditor instance via Javascript seems to remove the table tags.

Therefore I am not sure where the issue is. For me it is inside CKEditor, but I am not sure if it is because we have not included the table plugin or if the CKEditor version in use is too old.

Anyhow, the editor and the viewer are intended to share the same features, and the viewer does not support table tags. So I would also not introduce table support until the RichTextViewer is able to handle them.
Previous Topic:Will SWTPlus widgets be put into the nebula project?
Next Topic:[GanttChart] Zooming for D_Day view?
Goto Forum:
  


Current Time: Sat May 03 00:55:39 EDT 2025

Powered by FUDForum. Page generated in 0.03516 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top