WordPress.org

Ready to get started?Download WordPress

Forums

Any js hacker around? (3 posts)

  1. Denis de Bernardy
    Member
    Posted 9 years ago #

    If a js hacker in this forum has a few moments to spare, my soon to be released smart link plugin project could use a quicktag-like js.

    The general idea of the plugin is to insert links as [text->link], using natural language rather than urls.

    The button and keyboard shortcut (could be 'a', or 'z') should react as follows:

    - If no text is selected, insert '[->]' where cursor is in text, move cursor to after '['

    - If text is selected, insert '[' before the selection, '->]' after the selection, move cursor to after '>'

    Obviously, IE and FF compatibility is preferred. Opera and Safari would be nice too. :)

    Thanks in advance if anyone decides to take care of this

  2. Denis de Bernardy
    Member
    Posted 9 years ago #

    anyone?

  3. Alex King
    Member
    Posted 9 years ago #

    Take a look at the code in the Quicktags.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags