Skip to content

Commit

Permalink
2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Nov 16, 2018
1 parent 0d70156 commit 710f22a
Show file tree
Hide file tree
Showing 34 changed files with 59 additions and 39 deletions.
2 changes: 1 addition & 1 deletion dist/plugins/base64/trumbowyg.base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

fReader.onloadend = function (e) {
if (isValidImage(e.target.result)) {
trumbowyg.execCmd('insertImage', fReader.result);
trumbowyg.execCmd('insertImage', fReader.result, false, true);
$(['img[src="', fReader.result, '"]:not([alt])'].join(''), trumbowyg.$box).attr('alt', values.alt);
trumbowyg.closeModal();
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/base64/trumbowyg.base64.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/colors/ui/sass/trumbowyg.colors.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/colors/ui/trumbowyg.colors.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/colors/ui/trumbowyg.colors.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/emoji/ui/sass/trumbowyg.emoji.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/emoji/ui/trumbowyg.emoji.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/emoji/ui/trumbowyg.emoji.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/highlight/ui/sass/trumbowyg.highlight.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/highlight/ui/trumbowyg.highlight.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/highlight/ui/trumbowyg.highlight.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/mathml/ui/sass/trumbowyg.mathml.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/mathml/ui/trumbowyg.mathml.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/mathml/ui/trumbowyg.mathml.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/mention/ui/sass/trumbowyg.mention.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/mention/ui/trumbowyg.mention.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Trumbowyg v2.11.1 - A lightweight WYSIWYG editor
* Trumbowyg v2.12.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/mention/ui/trumbowyg.mention.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/pasteimage/trumbowyg.pasteimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
reader = new FileReader();
/* jshint -W083 */
reader.onloadend = function (event) {
trumbowyg.execCmd('insertImage', event.target.result, undefined, true);
trumbowyg.execCmd('insertImage', event.target.result, false, true);
};
/* jshint +W083 */
reader.readAsDataURL(items[i].getAsFile());
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/pasteimage/trumbowyg.pasteimage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified dist/plugins/preformatted/trumbowyg.preformatted.js
100755 → 100644
Empty file.
Empty file modified dist/plugins/preformatted/trumbowyg.preformatted.min.js
100755 → 100644
Empty file.
9 changes: 9 additions & 0 deletions dist/plugins/table/trumbowyg.table.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@
tableDestroy: '刪除表格',
error: '錯誤'
},
id: {
table: 'Sisipkan tabel',
tableAddRow: 'Sisipkan baris',
tableAddColumn: 'Sisipkan kolom',
tableDeleteRow: 'Hapus baris',
tableDeleteColumn: 'Hapus kolom',
tableDestroy: 'Hapus tabel',
error: 'Galat'
},
},

plugins: {
Expand Down
Loading

0 comments on commit 710f22a

Please sign in to comment.