Kaynağa Gözat

Merge branch 'develop'

version-14
Pratik Vyas 11 yıl önce
ebeveyn
işleme
dd52519855
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      config.json
  2. +1
    -1
      public/js/wn/ui/editor.js

+ 1
- 1
config.json Dosyayı Görüntüle

@@ -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",


+ 1
- 1
public/js/wn/ui/editor.js Dosyayı Görüntüle

@@ -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>|&nbsp;)*$/, '');

// remove custom typography (use CSS!)


Yükleniyor…
İptal
Kaydet