From 0aca90c9608ca84af8a33a75482ad33f16e4734d Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sun, 11 Oct 2020 20:05:31 +0200 Subject: [PATCH] Update events JSDoc --- src/editor/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor/index.js b/src/editor/index.js index 808b8eba5..55def9ae0 100644 --- a/src/editor/index.js +++ b/src/editor/index.js @@ -87,6 +87,9 @@ * ### Modal * * `modal:open` - Modal is opened * * `modal:close` - Modal is closed + * ### Parser + * * `parse:html` - On HTML parse, an object containing the input and the output of the parser is passed as an argument + * * `parse:css` - On CSS parse, an object containing the input and the output of the parser is passed as an argument * ### Commands * * `run:{commandName}` - Triggered when some command is called to run (eg. editor.runCommand('preview')) * * `stop:{commandName}` - Triggered when some command is called to stop (eg. editor.stopCommand('preview'))