Loading...
 
Skip to main content

What you see in WYSIWYG editor with Tiki markup is NOT NECESSARILY what you get

Status
Open
Subject
What you see in WYSIWYG editor with Tiki markup is NOT NECESSARILY what you get
Version
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 wiki editor (feature_wysiwyg enabled) allows typing HTML tags. But if "Use Wiki syntax in WYSIWYG" (wysiwyg_htmltowiki) is enabled, this HTML is not interpreted, just displayed literally.

This does not work however. As soon as the editor switches to Source, or saves the page, an attempt to convert all HTML markup to Tiki markup is done. This conversion is lossy and loss is quiet. For example, if I have...

Copy to clipboard
<table><caption>Title</caption><tr><td>Value</td></tr></table>

...it will be converted to...

Copy to clipboard
||TitleValue||

Unsupported tags are apparently just removed.

Strangely, if one copies a string with HTML in the WYSIWYG textarea and pastes it in the same area, the paste shows the result of interpretation (the HTML tags are no longer displayed literally).

Ticket #6523 reports a corresponding bug when wysiwyg_htmltowiki is disabled.

Importance
7
Easy to solve?
1 difficult
Priority
7
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6532
Created
Wednesday 10 January, 2018 22:34:27 UTC
by Philippe Cloutier
LastModif
Thursday 11 January, 2018 15:19:52 UTC


Show PHP error messages