Opened 4 years ago

Closed 4 years ago

#5016 closed defect (bug) (wontfix)

Switching Text/Visual modes for Explanation posts javascript exception (regexp)

Reported by: valentinbora's profile valentinbora Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:


User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

What's broken? Cannot switch to Visual mode at all at this time.

editor.min.js?ver=5.4-alpha-47202:2 Uncaught TypeError: Cannot read property 'regexp' of undefined
    at editor.min.js?ver=5.4-alpha-47202:2
    at g (editor.min.js?ver=5.4-alpha-47202:2)
    at n.cursorStart (editor.min.js?ver=5.4-alpha-47202:2)
    at editor.min.js?ver=5.4-alpha-47202:2
    at r (editor.min.js?ver=5.4-alpha-47202:2)
    at HTMLDocument.<anonymous> (editor.min.js?ver=5.4-alpha-47202:2)
    at C (tinymce.min.js?ver=4960-20190918:2)
    at HTMLDocument.d (tinymce.min.js?ver=4960-20190918:2)

Change History (3)

#1 @valentinbora
4 years ago

Seems to happen if I add [php] code blocks

This ticket was mentioned in Slack in #meta-devhub by valentinbora. View the logs.

4 years ago

#3 @valentinbora
4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Quoting @coffee2code, "I know that’s not the greatest, but i’ve always found that the visual mode can mess up code. and switching between the two definitely causes problems"


Note: See TracTickets for help on using tickets.