autumnnote 1.8.1 → 1.8.2
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/README.md +2 -2
- package/dist/autumnnote.css +0 -6
- package/dist/autumnnote.es.js +2 -1
- package/dist/autumnnote.es.js.map +1 -1
- package/dist/autumnnote.umd.js +2 -1
- package/dist/autumnnote.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/js/index.js +1 -1
- package/src/js/module/Mention.js +1 -0
- package/src/styles/autumnnote.scss +1 -4
- package/types/index.d.ts +1 -1
package/dist/autumnnote.umd.js
CHANGED
|
@@ -16276,6 +16276,7 @@
|
|
|
16276
16276
|
debounce: cfg.debounce ?? 200,
|
|
16277
16277
|
onSearch: cfg.onSearch,
|
|
16278
16278
|
onInsert: cfg.onInsert || null,
|
|
16279
|
+
onError: cfg.onError || null,
|
|
16279
16280
|
mentionClass: cfg.mentionClass || "an-mention",
|
|
16280
16281
|
allowSpaces: cfg.allowSpaces || false
|
|
16281
16282
|
};
|
|
@@ -17078,7 +17079,7 @@
|
|
|
17078
17079
|
/** All pre-built button definitions — accessible in every module format including UMD/CJS. */
|
|
17079
17080
|
buttons,
|
|
17080
17081
|
/** Library version */
|
|
17081
|
-
version: "1.8.
|
|
17082
|
+
version: "1.8.2"
|
|
17082
17083
|
};
|
|
17083
17084
|
/**
|
|
17084
17085
|
* @param {string|Element|NodeList|Element[]} selector
|