[wp-trac] [WordPress Trac] #31441: Consider automatically formatting certain patterns inside TinyMCE

WordPress Trac noreply at wordpress.org
Tue Feb 24 23:33:42 UTC 2015


#31441: Consider automatically formatting certain patterns inside TinyMCE
-------------------------+-----------------------------
 Reporter:  iseulde      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  TinyMCE      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  javascript   |
-------------------------+-----------------------------
 A lot of editors (Google Docs, Medium, Apple Notes...) allow you to short
 cut certain formats such as `* ` for a list. It'd be cool if WordPress did
 this too.

 I made a plugin that does this a while ago during GSoC (was a bit of an
 experiment), and I recently found out there's also an official TinyMCE
 plugin that does this too (though it's not as good, only formats after
 you're done with the block).

 Other potential shortcuts are `- `, `1. `, `> `, `---`... Maybe even
 `#{1,6}`.

 https://github.com/iseulde/wp-front-end-
 editor/blob/master/js/tinymce.markdown.js
 https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/textpattern/plugin.js

 Related: [[TicketQuery(id=27159)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31441>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list