turnermm / ckgdoku

Version of ckgedit using dokuwik's mediamanager/linkwiz as well as ckgedit's link and image browsers
https://www.dokuwiki.org/plugin:ckgdoku
GNU General Public License v2.0
8 stars 2 forks source link

Content disappears randomly when editing #58

Open Delwaulle opened 6 years ago

Delwaulle commented 6 years ago

Hello, first of all thanks for the wonderful plugin !

I used Dokuwiki in farm mode and I am encountering some problems with it.

Sometimes when I edit a page in Dokuwiki and click the "save" button it removes some part of the content or breaks the tables. It seems to happen randomly I can't found any pattern.

I noticed (thanks to the source button) that sometimes HTML tags appear out of nowhere and change the look of the page even if I don't make any changes !

I tried to wrap the whole content in html_blocks (with START_HTML_BLOCK and CLOSE_HTML_BLOCK) to avoid parsing troubles but it causes some side effects :

So it can't be a solution for me. I also tried to put several html_blocks in a page but if I use it more than one time, some extra HTML tags appeared when saving like that :

image

After saving :

image

It seems that the html_blocks are not the solution to avoid the initial problem. Is it a known issue ? Is there a way to avoid random changes in the content when we edit a page ?

turnermm commented 6 years ago

You can't have more than one HTML_BLOCK on a page. Subsequent blocks are ignored. As for your other problems I have no answsers. Perhaps there is a plugin conflict. Do I see that you are using the Discussion plugin? If so try disabling it. There have been occasional reports of missing sections but we've never been able to determine cause.

Delwaulle commented 6 years ago

Ok thank you for the idea, it's hard to test because it happens randomly as I said but I will keep you informed.

About the conflicts with plugins there is nothing noticed in the documentation here : https://www.dokuwiki.org/plugin:ckgdoku I guess the conflicts are the same as ckgedit (https://www.dokuwiki.org/plugin:ckgedit) can you confirm please ?

turnermm commented 6 years ago

As far as i know from user reports, yes.