WordPress.org

Ready to get started?Download WordPress

Forums

enhance shortocde presentation in Visual mode (4 posts)

  1. mixey
    Member
    Posted 3 years ago #

    Hi,

    I'm working on the WP them which will use some custom made shortcodes and I'm wondering how I can achieve same shortcode behavior as default [gallery] shortcode?

    I would like to see the actual shortcode when editing in HTML mode and shortcode placeholder when editing in Visual mode.

    I know how to add custom buttons to the tinymce with population form (to help user to generate the shortcode), but what should be next step?

    Thank you in advance any info is much appreciated.
    Michael

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. mixey
    Member
    Posted 3 years ago #

    Thanks esmi for your reply, but this is not what I was asked for.

    I know how shortcodes work and how to program/add them into the template. I guess my question was more related to the tinyMCe api or something like this.

    I need to know how to show some info graphics instead of the [shortcode] when editing post in Visual editor.

  4. Koff
    Member
    Posted 3 years ago #

    Hi,
    Did you find any solution?

Topic Closed

This topic has been closed to new replies.

About this Topic