• turbodb

    (@turbodb)


    I’ve been using AET since it wsa TinyMCE Advanced, and very much appreciate that it continues to give me a consistent WP editor experience even as WP moves on to the block editor.

    In writing my blog, I often cite historical sources for my content, and currently doing so is a rather manual process. First, I create a blockquote using the button on the toolbar. Then I insert all of the content. Then, I have to switch into “Text” view to find the closing </blockquote> element so I can add <cite>source</cite> to my HTML content.

    Is it possible to add a “blockquote with cite” button/option to the plugin, or somehow extend the plugin with my own code to make this happen?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter turbodb

    (@turbodb)

    Hoping someone can weigh in on this. Or, let me know a better place to ask..bump

    Moderator note: Please, No bumping

    https://www.ads-software.com/support/guidelines/#do-not-bump-posts

    I’d like to do something similar – just make a button that creates beginning and ending tags. My wife and I are starting a blog, and I want to be able to style the “he said/she said” bantering back and forth. I can do it by styling H5 and H6 tags (normal size/weight, but with a background color), but then there will be a lot of H5 and H6. Search engines might think we’re yelling, or heading-stuffing.

    I can do the code by hand (<div class=”heSaid”></div>), but that’ll be a pain, and my wife doesn’t know HTML. I’m hoping for a solution that lets her just hit a button, respond to whatever I just said, hit Update, and go.

    I’ve been looking at how to create custom buttons, but haven’t stumbled upon quite WHERE the different bits of javascript code I’ve found gets implemented. I see references to wp-admin/includes/wp-class-editor.php, but that file must have gone out the window at some point during the Gutenberg ruckus.

    Thread Starter turbodb

    (@turbodb)

    For the time being, I’ve just created a second button for the <cite></cite> portion of the blockquote. This seems super janky, and I find it hard to believe that the existing blockquote button.

    Is there a way to do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blockquote with child element’ is closed to new replies.