markupeditor 0.9.33 → 0.9.35

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.
@@ -35146,6 +35146,28 @@ function callbackSelectImage() {
35146
35146
  _callback(JSON.stringify(messageDict));
35147
35147
  }
35148
35148
 
35149
+ /**
35150
+ * Callback to signal that the user wants to insert a link.
35151
+ *
35152
+ * The messageHandler will need to bring up a dialog to identify
35153
+ * the link and then execute insertLink.
35154
+ */
35155
+ function callbackInsertLink() {
35156
+ let messageDict = { 'messageType' : 'insertLink' };
35157
+ _callback(JSON.stringify(messageDict));
35158
+ }
35159
+
35160
+ /**
35161
+ * Callback to signal that the user wants to insert an image.
35162
+ *
35163
+ * The messageHandler will need to bring up a dialog to identify
35164
+ * the image and then execute insertImage.
35165
+ */
35166
+ function callbackInsertImage() {
35167
+ let messageDict = { 'messageType' : 'insertImage' };
35168
+ _callback(JSON.stringify(messageDict));
35169
+ }
35170
+
35149
35171
  /**
35150
35172
  * Callback to signal that user-provided CSS and/or script files have
35151
35173
  * been loaded.
@@ -42506,6 +42528,8 @@ const MU = {
42506
42528
  addHeader,
42507
42529
  addRow,
42508
42530
  borderTable,
42531
+ callbackInsertImage,
42532
+ callbackInsertLink,
42509
42533
  callbackSelectImage,
42510
42534
  cancelSearch,
42511
42535
  canUndo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markupeditor",
3
- "version": "0.9.33",
3
+ "version": "0.9.35",
4
4
  "description": "A web component and API for WYSIWYG HTML editing.",
5
5
  "keywords": [
6
6
  "wysiwyg",