Yesterday, I got the basic implementation of the wordpress tinymce buttons working.
You can see two buttons in the screenshot:
- Neotext blockquote
- Neotext q
Clicking on one of these links pops up a dialog box, prompting the entry of a url.
The result of this entry is a “blockquote” or “q” tag containing a cite attribute, allowing writers to create neotext references without knowing html.
In the future, I hope to make the buttons use attractive icons.
You can view the code on github:
- quote-context.php
- tinymce-blockquote.js