[wp-trac] [WordPress Trac] #30407: Add keyboard shortcut for switching between Visual & Text editors

WordPress Trac noreply at wordpress.org
Thu Apr 30 18:45:12 UTC 2015


#30407: Add keyboard shortcut for switching between Visual & Text editors
-------------------------------+--------------------------------
 Reporter:  UaMV               |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |     Focuses:  ui, accessibility
-------------------------------+--------------------------------

Comment (by afercia):

 Replying to [comment:12 melchoyce]:
 > > To add a custom classes to elements
 >
 > I would love to find a more user-friendly way to do this. It would be
 especially useful for adding button styles to links, adding pull-quotes,
 etc.

 Someway related: TinyMCE allows to have custom CSS classes, see screenshot
 about some typography experiments I was working on a while ago. For
 existing elements (e.g. paragraphs) it's very easy but if you want to
 style only a portion of text it's not so friendly. You'd need to have an
 element to style first, e.g. a `span`.
 What I usually do is to apply "underline" to my text selection (that
 creates a span) then apply the class and then remove the underline. It
 would be nice if the spans were created automatically. Maybe something
 worth to consider? :) cc @iseulde and @azaozz

 [[Image(https://cldup.com/td6JH0HdD8.png)]]

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


More information about the wp-trac mailing list