Fullscreen
Loading...
 
Skip to main content

Edit-save loses parts of wysiwyg wiki pages

Status
Open
Subject
Edit-save loses parts of wysiwyg wiki pages
Version
12.x Regression
Category
  • Regression
Feature
WYSIWYG (What You See is What You Get)
Resolution status
New
Submitted by
Jean-Marc Libs
Lastmod by
Jean-Marc Libs
Rating
(1)
Related-to
Description

Some wysiwyg wiki pages lose content on edit-save.

Just editing the page, not changing anything and saving changes the page display.

Example with a <br style="clear: left;"> which is changed into <p> </p>


The result is loss of confidence into the wysiwyg edition from users, since parts of the page they did not edit are visually messed up.

--

Issue


If you look at http://jyhem-9952-5164.show.tikiwiki.org/tiki-index.php?page=JML+test+03Question and view the source of revision 1, it contains

Copy to clipboard
<table align="left" border="1" cellpadding="0" cellspacing="0" style="width:50%;"> <tbody> <tr> <td style="text-align:left;"> <div class="more" style="text-align:left;margin-left:36px;"> <p><strong>Contents</strong></p> </div> <p>bla bla bla</p> </td> </tr> </tbody> </table> <br style="clear: left;"> <h2>Distribution</h2> <p>Although the disease probably originated in southeast Asia, the first recording of the disease was made in 1874 in Australia, where it was observed at Eagle Farm near Brisbane</p>


And visually, the Title Distribution is below the table because of a <br style="clear: left;">

If this is not what you can see in http://jyhem-9952-5164.show.tikiwiki.org/tiki-index.php?page=JML+test+03Question, just rollback to version 1

Then you can edit the page, and it does not show correctly. If you save it without touching anything, the code is now:

Copy to clipboard
<table align="left" border="1" cellpadding="0" cellspacing="0" style="width:50%;"><tbody><tr><td style="text-align:left;"> <div class="more" style="text-align:left;margin-left:36px;"> <p><strong>Contents</strong></p> </div> <p>bla bla bla</p> </td> </tr></tbody></table><p> </p> <h2>Distribution</h2> <p> </p> <p>Although the disease probably originated in southeast Asia, the first recording of the disease was made in 1874 in Australia, where it was observed at Eagle Farm near Brisbane</p>


This should not happen (change the page content when no change is actually done). On big pages, it is impossible to go edit a little part of the page and then check that nothing else anywhere else was changed 😑
This has 2 main visual problems after edit-save:

  • The title Distribution is not below the table, it wraps on the right side.
  • There is an extra line below the title Distribution due to the newly appeared <p> </p>
Importance
9
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5164
Created
Saturday 08 March, 2014 00:54:59 UTC
by Jean-Marc Libs
LastModif
Thursday 04 December, 2014 20:19:51 UTC


Show PHP error messages