[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
WordPress Trac
noreply at wordpress.org
Tue Jun 13 08:40:06 UTC 2017
#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+-----------------------
Reporter: dwrippe | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.8.1
Component: Widgets | Version: 4.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Changes (by philclothier):
* severity: minor => normal
Comment:
Every other CMS I can think of uses two distinct widgets/elements for HTML
or WYSIWYG. For example Squarespace, Wix and Weebly all do it this way, as
well as WordPress plugins such as Visual Composer and Beaver Builder etc.
The best approach, in my opinion, would be to follow this and create a
dedicated "HTML" widget (which replaces the <4.8 "Text" widget. Then
create a new widget called "Visual Edtior" which includes TinyMCE. When I
first saw the announcement of this widget, this is what I assumed would be
the case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list