(@hamilton @DevinBayly )
Messages that the webextension should listen for from text-editor-plugins
{ type: “REPLACE_ALL_JSMD”, textContent }
{ type: “INSERT_TEXT”, cursorPosition, text }
{ type: “DELETE_TEXT”, cursorPosition, numCharsToDelete }
{ type: “EVALUATE_CHUNK”, cursorPosition }
Messages that the webextension would send to text-editor-plugins from iodide
{ type: “TEXT_UPDATE_FROM_IODIDE”, textContent }
(@hamilton @DevinBayly )
Messages that the webextension should listen for from text-editor-plugins
Messages that the webextension would send to text-editor-plugins from iodide