[wp-trac] [WordPress Trac] #62450: TinyMCE editor doesn't load properly when initializing on Visual Tab (Firefox) [again]

WordPress Trac noreply at wordpress.org
Wed Nov 27 08:20:26 UTC 2024


#62450: TinyMCE editor doesn't load properly when initializing on Visual Tab
(Firefox) [again]
-------------------------------------+-------------------------------------
 Reporter:  patkemper                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Editor                   |     Version:  6.7
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback        |     Focuses:  javascript,
  needs-testing-info close needs-    |  administration
  screenshots                        |
-------------------------------------+-------------------------------------
Changes (by benediktgrether):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Hi everyone.

 Our client manages their website independently and uses SCF (Secure Custom
 Fields) with WYSIWYG editor fields to input content.

 Problem:
 When switching between the "Text" and "Visual Editor" tabs, all content
 disappears, and the text box remains empty (white). This significantly
 impacts the ability to edit content.


 Console Error:
 The following error appears in the browser's developer console:


 {{{
 Uncaught TypeError: can't access property "setBaseAndExtent", n is null
 tinymce.min.js:2:291933
 }}}


 Here is a Screen Record.
 https://go.screenpal.com/watch/cZXtjXnV7GL

 Steps to Reproduce:

 Log in to the WordPress admin panel.
 Edit an SCF field with a WYSIWYG editor.
 Switch between the "Text" and "Visual Editor" tabs.
 Notice that the content disappears, leaving an empty text box.
 Expected Behavior:
 The content in the WYSIWYG field should not disappear when switching
 between "Text" and "Visual Editor."



 Additional Information:

 WordPress Version: 6.7.1
 SCF Version: 6.3.10.2
 Browser and Version: Firefox Developer Edition - Version 134.0b1 (64-Bit)
 | Firefox Edition - Version 131.0 (64-Bit) (Both are affected).

 We kindly request support to analyze and resolve this issue.
 Benedikt.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62450#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list