1

Topic: Customise Textbox controls and position

I have created a plugin (for WordPress's tinyMCE v.4) that opens a textbox when alt clicking an element inside the editor. The textbox has a title, close (x) button, text field, OK (submit) button, and a cancel button and it appears in the middle of the screen.

This is all fine and works great but ideally I would like to have just the text field (no title or buttons) that submits when the user presses the "Enter" or "Return" key, and have it appear just above the element.

Is this possible? How would I do it, or where can I find info on creating custom inline controls?

Thanks.

Last edited by Shunarjuna (2015-06-14 16:17:11)