WYSIWYG plugin fails to open if no parameter for page (regression from version 17)
- Status
- Closed
- Subject
- WYSIWYG plugin fails to open if no parameter for page (regression from version 17)
- Version
- 17.x
17.x Regression - Category
- Error
- Regression
- Feature
- WYSIWYG (What You See is What You Get)
Wiki Plugin (extends basic syntax) - Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Xavier de Pedro
- Rating
- Description
The WYSIWYG plugin no longer works starting from Tiki 17 if there is no page URL parameter, for example on the homepage.
I wrote in the wiki page the usual way to have the plugin to show up:Copy to clipboard{WYSIWYG()} {WYSIWYG}I save the wiki page.
When one clicks the "Edit" button at the bottom right corner of the plugin, a JavaScript error occurs:Uncaught TypeError: Cannot read property 'type' of null
at HTMLButtonElement. (tiki-ckeditor.js:188)
at HTMLButtonElement.dispatch (jquery.js:5206)
at HTMLButtonElement.elemData.handle (jquery.js:5014)
jqueryTiki.current_object is null.If the homepage is accessed using relative URL tiki-index.php, the issue occurs.
If the homepage is accessed using relative URL tiki-index.php?page=HomePage, the issue does not occur.Tiki 16 does not have this issue.
- Solution
-
Fix confirmed, Jonny, thanks!
- Importance
- 5
- Easy to solve?
- 6
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6384
- Created
- Monday 03 July, 2017 08:23:59 UTC
by Xavier de Pedro - LastModif
- Wednesday 16 August, 2017 22:07:32 UTC