Merge branch 'develop'
This commit is contained in:
commit
dd52519855
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"base_template": "lib/website/templates/base.html",
|
||||
"framework_version": "3.9.4",
|
||||
"framework_version": "3.9.5",
|
||||
"modules": {
|
||||
"Calendar": {
|
||||
"color": "#2980b9",
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ bsEditor = Class.extend({
|
|||
clean_html: function() {
|
||||
|
||||
var html = this.editor.html() || "";
|
||||
if(!strip(this.editor.text()) && !(this.editor.find("img"))) html = "";
|
||||
if(!$.trim(this.editor.text()) && !(this.editor.find("img"))) html = "";
|
||||
// html = html.replace(/(<br>|\s|<div><br><\/div>| )*$/, '');
|
||||
|
||||
// remove custom typography (use CSS!)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue