[wp-trac] [WordPress Trac] #31799: Visual Editor can't understand HTML special chars equivalent to WP shortcodes

WordPress Trac noreply at wordpress.org
Sun Mar 29 13:55:27 UTC 2015


#31799: Visual Editor can't understand HTML special chars equivalent to WP
shortcodes
--------------------------------------------+-----------------------------
 Reporter:  wzislam                         |      Owner:
     Type:  defect (bug)                    |     Status:  new
 Priority:  normal                          |  Milestone:  Awaiting Review
Component:  TinyMCE                         |    Version:  4.1.1
 Severity:  normal                          |   Keywords:
  Focuses:  ui, javascript, administration  |
--------------------------------------------+-----------------------------
 `[my-shortcode]` is a valid WordPress shortcode. If I'm on Visual Editor
 mode and paste the shortcode it's now a '''Shortcode''', right. It's ok.

 But now I want to say my visitors, ''hey this is my shortcode: [my-
 shortcode], you can use it.'', now when WordPress is rendering the page,
 it's thinking it's a shortcode, and producing a blank area there. I tried
 the HTML mode of the editor, and revamped the area with `[my-
 shortcode]` updated the page, it's working great, but...

 If I switch back to the Visual mode it's '''forgetting''' that it's not a
 shortcode, making it shortcode again, and so so...

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


More information about the wp-trac mailing list