We have encountered an issue with Riddle. When editing a post’s content, typing a percent character (literally “%”) triggers a cascade of JS errors.
Once the percent character is present in the content, the browser console begins filling up with :
riddle.tinymce.js?v=3.1&wp-mce-4603-20170530:37 Uncaught URIError: URI malformed at decodeURIComponent (<anonymous>) at replaceEmbeddedToShortCode (riddle.tinymce.js?v=3.1&wp-mce-4603-20170530:37) at o.<anonymous> (riddle.tinymce.js?v=3.1&wp-mce-4603-20170530:103) at b.e [as fire] (tinymce.min.js?ver=4603-20170530:10) at o.fire (tinymce.min.js?ver=4603-20170530:10) at o.getContent (tinymce.min.js?ver=4603-20170530:13) at o.update (post.js?ver=4.8.1:1235) at c (underscore.min.js?ver=1.8.3:5)
Deleting the % character stops the JS errors.
It would appear that this comment, https://wordpress.org/support/topic/getting-uncaught-urierror-uri-malformed-error/#post-9320254, from garygnutter confirms that we are not the only users experiencing this.
I have tested this with WordPress v 4.8.1, Twenty Seventeen theme, and Riddle v 3.1, with all other plugins deactivated.
The error presents itself in Chrome, Safari, and Firefox on Mac.
- The topic ‘Percent Character In Content Triggers riddle.tinymce.js Errors’ is closed to new replies.