Insert BBCode, HTML, Markdown and Goodreads tags. Use selected text and prompts

Latest Version

Version
0.3.2
Update
November 2, 2013
Size
12.14KiB
Developer
Category
Users
864
Rating
4.02439 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
Tabs
Http://*/
Https://*/
See more

bbCodeInsert Extension

BBCode tags is a method used by many forums to add structure to a post. This small plugin make it easier to add BBCode tags by enclosing the selection in a tag or prompt for additional tag parameters like the color to use.

vBulletin adds additional tags, they are included.

Markdown as defined on the project page by John Gruber is included.

A subset of the HTML tags is included.

You access the extension by right-clicking in a form while constructing the post.

When a prompt is asked a valid responds is the empty responds. The result can be different for empty responses.

If nothing is selected, the caret is positioned at the location where the selected text would have been placed.

If there is a selection, it will be part of the result, and the whole result is selected, for a possible next tag enclosure.

The 'bbCode Insert' context menu is only visible for editable form elements, like text areas and text line entries.

A few of the menu entries have a shortcut key.
The shortcut keys only work after you have used a menu option by keyboard (context-menu-key) or mouse. Prompts are disabled for shortcut key activation (Chrome bug).

Search and Replace of textarea content is now possible. The search is for regular expressions and the replace string can contain references to groups in the match ($&,$1,$2,$3,..,$99).
Javascript regular expressions makes a powerful tool.

You can define your own templates on the options page. Help on the custom tags is included.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "bbCodeInsert", "version": "0.3.2", "description": "Insert BBCode, HTML, Markdown and Goodreads tags. Use selected text and prompts", "permissions": ["contextMenus", "tabs", "http://*/", "https://*/"], "options_page": "options.html", "background": { "scripts": ["background.js"] }, "icons": { "16": "bbcode-016.png", "48": "bbcode-048.png", "128": "bbcode-128.png" }, "manifest_version": 2}
Read more