Closed ProvincePedia closed 4 years ago
I fix it by replacing in the file extensions/WYSIWYG/CKeditorParser.body.php
:
from
$parserOutput->getText(array()
to
$parserOutput->getText(array('allowTOC'=>false,'enableSectionEditLinks'=>false))
on lines: 1201,1202,1224,1236,1240,1246,1255,1262,1271,1275,1276,1277,1280,1282,1286 (all matches)
When editing a page in the form, a TOC and links [edit] after the headers appear. After saving the TOC and links [edit] are duplicated.
MediaWiki: 1.34.0
WikiEditor: 0.5.0
WYSIWYG: 1.5.6_0 [B551+18.09.2018]
CKEditor: 4.6.2 (revision 20af917)