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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autumnnote",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "WYSIWYG rich-text editor built with vanilla JavaScript — zero dependencies, no jQuery. Dark mode, @mention, markdown shortcuts, bubble toolbar. React and Vue 3 wrappers included.",
5
5
  "main": "dist/autumnnote.umd.js",
6
6
  "module": "dist/autumnnote.es.js",
@@ -78,7 +78,7 @@
78
78
  "rtl",
79
79
  "autosave"
80
80
  ],
81
- "homepage": "https://cmm-cmm.github.io/Autumn-Note/",
81
+ "homepage": "https://autumn.konexforge.com/",
82
82
  "repository": {
83
83
  "type": "git",
84
84
  "url": "git+https://github.com/cmm-cmm/Autumn-Note.git"
package/src/js/index.js CHANGED
@@ -144,7 +144,7 @@ const AutumnNote = {
144
144
  buttons,
145
145
 
146
146
  /** Library version */
147
- version: '1.8.0',
147
+ version: '1.8.2',
148
148
  };
149
149
 
150
150
  // ---------------------------------------------------------------------------
@@ -61,6 +61,7 @@ export class Mention {
61
61
  debounce: cfg.debounce ?? 200,
62
62
  onSearch: cfg.onSearch,
63
63
  onInsert: cfg.onInsert || null,
64
+ onError: cfg.onError || null,
64
65
  mentionClass: cfg.mentionClass || 'an-mention',
65
66
  allowSpaces: cfg.allowSpaces || false,
66
67
  };
@@ -436,10 +436,7 @@
436
436
  min-height: 0;
437
437
  outline: none;
438
438
 
439
- &:focus-visible {
440
- outline: 2px solid var(--an-focus-color, #{$an-primary});
441
- outline-offset: -2px;
442
- }
439
+
443
440
  line-height: $an-line-height;
444
441
  color: $an-text;
445
442
  overflow-y: auto;
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * AutumnNote – TypeScript declarations
3
- * @version 1.8.0
3
+ * @version 1.8.2
4
4
  */
5
5
 
6
6
  // ---------------------------------------------------------------------------