Making WordPress.org

Opened 2 years ago

Closed 2 years ago

#5016 closed defect (wontfix)

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

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


Context: https://developer.wordpress.org/
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
2 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.

2 years ago

#3 @valentinbora
2 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"

Ref https://wordpress.slack.com/archives/C02RRH4GA/p1581639097014900

Note: See TracTickets for help on using tickets.