From a928c3f9881c5391f58198d4e1f0aac7fc0c58f7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 15 Mar 2017 12:36:07 +0100 Subject: [PATCH] Add editor-init event --- program/js/editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/program/js/editor.js b/program/js/editor.js index f4dc555d8..7d55ad3c1 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -138,6 +138,8 @@ function rcube_text_editor(config, id) }); }; + rcmail.triggerEvent('editor-init', {config: conf, ref: ref}); + // textarea identifier this.id = id; // reference to active editor (if in HTML mode)