mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
Add 'textarea' editor skin for simple replacement
This commit is contained in:
parent
e91c2114ab
commit
9f652e422f
4 changed files with 76 additions and 0 deletions
|
|
@ -390,6 +390,13 @@ jQuery(function($) {
|
|||
return String(this).replace(/&(amp|lt|gt|quot|#039);/g, function(m) { return map[m]; });
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief string prototype으로 stripTags 함수 추가
|
||||
**/
|
||||
String.prototype.stripTags = function() {
|
||||
return String(this).replace(/<\/?[a-z][^>]*>/ig, "");
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief string prototype으로 trim 함수 추가
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue