Loading...
 
Skip to main content

"Advanced" tables altered when "Use Wiki syntax in WYSIWYG" (wysiwyg_htmltowiki) is enabled

Status
Open
Subject
"Advanced" tables altered when "Use Wiki syntax in WYSIWYG" (wysiwyg_htmltowiki) is enabled
Version
12.x
17.x
Category
  • Bug
Feature
WYSIWYG (What You See is What You Get)
Resolution status
New
Submitted by
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

The WYSIWYG editor supports tables whether the content is stored as HTML or as Tiki/wiki syntax. However, Tiki syntax only supports basic tables. CKeditor offers advanced operations on tables via secondary click -> Cell, such as merging, splitting, and propably everything in Cell Properties.

The result of advanced operations will generally be lost. In a few cases, these operations will properly carry to wiki format after conversion.
After advanced operations, the issue will be noted either after saving, or simply by switching to Source and going back to WYSIWYG.

For example, the table with a fixed left cell width...

Copy to clipboard
<table class="wikitable table table-striped table-hover"> <tbody> <tr> <td class="wikicell" style="width: 123px;">1</td> <td class="wikicell">3</td> </tr> </tbody> </table>

...is simply converted to wiki...

Copy to clipboard
||1|3||

This issue exists in both Tiki 12 and r65080 trunk.

Importance
7
Easy to solve?
2
Priority
14
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6518
Created
Thursday 04 January, 2018 20:15:23 UTC
by Philippe Cloutier
LastModif
Thursday 04 January, 2018 20:15:23 UTC


Show PHP error messages