WordPress.org

Forums

HTML Macro Plugin? (3 posts)

  1. CharlesKrause
    Member
    Posted 9 years ago #

    Does anyone know of a plugin that might do this:

    * Allow the administrator(s) to specify predefined blocks of HTML code in a control panel. Features like classifying them, and grouping them might be nice, but not required.

    * Add a collapsible box in the editor screen, with a drop down selection box allowing the editor to select the "code blocks", and a "paste button" which adds the predefined code at the cursor point.

    * (optional) Automatically add a section of CSS formatting to all post pages (I know this can be done), with formatting classes for the predefined blocks. A "global" style sheet might be acceptable. "Block specific" CSS would be nice.

    * (optional) Understand TinyMCE and be able to add the HTML code to the editor pane as well.

    I think this could be very useful for defining "standard" types of entries - such as book reviews, movie reviews, etc. - and could be used to easily add microcontent formats such as those defined @ http://microformats.org.

    Does something like this exist, or should I start tinkering with code? ;)

  2. CharlesKrause
    Member
    Posted 9 years ago #

    bump :p

  3. vkaryl
    Member
    Posted 9 years ago #

    No to all of the above.... but what I did for a client last month was define a quicktag button for a three row nine cell table (financial data) so that he or his editors could click the "Table" button and have the relevant html appear automagically in the post entry field....

    So a multi-organism can be quicktag defined, your review setup etc. could be done, no problem. If you want to see the code I implemented, feel free to email me at vkaryl*at*bytehaven*dot*com.

Topic Closed

This topic has been closed to new replies.

About this Topic