Skip to content

Commit 2e514d2

Browse files
authored
Merge pull request #53 from bkraul/develop
Added support for MarkItUp toolbar on custom textarea fields
2 parents 92a5ccf + 31c752b commit 2e514d2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

BBCodePlus/BBCodePlus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function register() {
2424
$this->name = plugin_lang_get( 'title' );
2525
$this->description = plugin_lang_get( 'description' );
2626
$this->page = 'config';
27-
$this->version = '2.1.1';
27+
$this->version = '2.1.2';
2828

2929
$this->requires['MantisCore'] = '2.0.0';
3030
# this plugin can coexist with MantisCoreFormatting.

BBCodePlus/files/markitup-init.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
$("textarea[name='additional_information']").markItUp(mySettings);
1717
if ( $("textarea[name='body']") )
1818
$("textarea[name='body']").markItUp( mySettings );
19+
if ( $("textarea[name^='custom_field_']") )
20+
$("textarea[name^='custom_field_']").markItUp( mySettings );
1921

2022
});
2123
})(jQuery);

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ If you would like to contribute to BBCode plus, please [read this guide first](h
2626

2727
## Change Log
2828

29+
### 2.1.2
30+
31+
- Added MarkItUp toolbar support for custom textarea fields.
32+
2933
### 2.1.1
34+
3035
* Fixed new parser incompatibility with PHP 5.5.9+.
3136
* Updated README for all languages supported by code highlighter.
3237

0 commit comments

Comments
 (0)