vue-editify 0.1.42 → 0.1.43

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/lib/editify.es.js CHANGED
@@ -18758,7 +18758,7 @@ const getMenuConfig = function(editTrans, editLocale) {
18758
18758
  };
18759
18759
  const elementIsMatch = (element2, config) => {
18760
18760
  let isMatch = true;
18761
- if (config.parsedom && element2.parsedom && config.parsedom != element2.parsedom) {
18761
+ if (config.parsedom && (element2.isText() || config.parsedom != element2.parsedom)) {
18762
18762
  isMatch = false;
18763
18763
  }
18764
18764
  if (config.marks) {
@@ -41185,7 +41185,7 @@ const attachment = (options) => {
41185
41185
  const install = (app) => {
41186
41186
  app.component(Editify.name, Editify);
41187
41187
  };
41188
- const version = "0.1.42";
41188
+ const version = "0.1.43";
41189
41189
  console.log(`%c vue-editify %c v${version} `, "padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;", "padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;");
41190
41190
  export {
41191
41191
  AlexElement,