aloha-vue 1.2.130 → 1.2.131-tiny2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.130",
17
+ "version": "1.2.131-tiny2",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -354,7 +354,7 @@ export default {
354
354
  },
355
355
 
356
356
  showClearIcon() {
357
- return !this.disabled && this.clearable && (this.range ? this.isValidRangeValue(this.modelValue) : this.isValidValue(this.modelValue));
357
+ return !this.disabled && this.clearable && this.text;
358
358
  },
359
359
 
360
360
  innerShortcuts() {
@@ -79,10 +79,12 @@ export default function ATinymceAPI(props, context, {
79
79
  modelValueLocal = modelValue.value;
80
80
  tinymce.init({
81
81
  branding: branding.value,
82
+ browser_spellcheck: true,
82
83
  content_css: false,
83
84
  content_langs: contentLangs.value,
84
85
  content_style: contentStyle.value,
85
86
  contextmenu: "copy link",
87
+ convert_urls: false,
86
88
  entity_encoding: "raw",
87
89
  force_br_newlines: true,
88
90
  indent: false,
@@ -9,7 +9,7 @@ export default function(editor) {
9
9
  e.stopPropagation();
10
10
  e.preventDefault();
11
11
 
12
- const PAGE_HTML = clipboardData.getData("text/html");
12
+ const PAGE_HTML = clipboardData.getData("text/html") || clipboardData.getData("text/plain");
13
13
  const HTML_FRAGMENT = extractTextBetween({
14
14
  html: PAGE_HTML,
15
15
  start: "<!--StartFragment-->",