Closed
Description
Preconditions
- Magento develop branch (tested with revision: 5ea676e)
- PHP 7.0.18
Steps to reproduce
- Setup a brand new Magento project from the develop branch
- Login to the backend
- Go to Content => Pages
- Create a new Page
- In the Content field, start entering:
10%
Expected result
- No errors should pop up
Actual result
- From the moment you type the
%
character, an error pops up:
error in [unknown object].fireEvent(): event name: tinymceChange error message: URI malformed
Discussion
This problem was introduced in this commit: 9030e08
Removing the line content = decodeURIComponent(content);
fixes the issue.
The question is: why was the line added?
The commit was part of some other commits to fix issue #6138
But without that line, the issue is fixed as well, in my tests though, but maybe the line was necessary for some other edge case?
It would be great if this could be fixed before Magento 2.2 is released, as this is a really annoying problem :)
Thanks!