The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
i can not find a way or plugin to add such buttons. like a “code” button. how can i add this ability?
Do you mean inside your admin section or front end for visitors to use?
If it’s visitors, for example, comments, I just made this that you could use;
Basically the JQuery takes the current value of the textarea, and then adds the required addition to it, in this case pre & code tags.
Then they can type in to their hearts content. You’d have to edit the comments template of course to add in the link to add this code as well as adding the JQuery.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed