Opened 10 years ago
Closed 10 years ago
#31629 closed defect (bug) (worksforme)
Editor not working due to JS error related to emojis
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2 |
Component: | Editor | Keywords: | reporter-feedback emoji |
Focuses: | javascript, administration | Cc: |
Description
I thought this was some kind of hiccup due to a cached js or something, but I see it again.
Using 4.2-beta1-31760
Steps:
Add new post
Result:
Editor in Visual tab is not visible. Switching to Text works but clicking Visual again doesn't. Console says:
wp-tinymce.php?c=1&ver=4109-20150310:48 Uncaught TypeError: Cannot read property 'parseEmoji' of undefined
Browser:
Only tested in Chrome 41.0.2272.89 (64-bit) on OS X 10.10.2 Haven't tested others.
It was hard to figure out a line, so I set SCRIPT_DEBUG to true and hard reloaded. Bug was gone so I couldn't find the line. I turned off SCRIPT_DEBUG thinking it will appear again but bug never appeared again.
I tested this in a fresh install and it appears only once (per installation). After you reload it's gone.
Can you try a hard refresh? I saw this last night, but after refreshing, I couldn't duplicate. May be a caching problem that didn't get busted with the beta.
(Misread the line about the hard refresh attempted). It's a fun bug :)