From 1e75db15bbcee5318a7b4e011517580e3c5badae Mon Sep 17 00:00:00 2001 From: bkraul Date: Wed, 20 Mar 2019 16:55:24 -0500 Subject: [PATCH] Added MarkItUp toolbar support for custom textarea fields. --- BBCodePlus/files/markitup-init.js | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/BBCodePlus/files/markitup-init.js b/BBCodePlus/files/markitup-init.js index 20b7055..04703a0 100644 --- a/BBCodePlus/files/markitup-init.js +++ b/BBCodePlus/files/markitup-init.js @@ -16,6 +16,8 @@ $("textarea[name='additional_information']").markItUp(mySettings); if ( $("textarea[name='body']") ) $("textarea[name='body']").markItUp( mySettings ); + if ( $("textarea[name^='custom_field_']") ) + $("textarea[name^='custom_field_']").markItUp( mySettings ); }); })(jQuery); \ No newline at end of file diff --git a/README.md b/README.md index 12a8743..92df19a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ If you would like to contribute to BBCode plus, please [read this guide first](h ## Change Log +### 1.3.2 +* Added MarkItUp toolbar support for custom textarea fields. ### 1.3.1 * Updated README for all languages supported by code highlighter.