From 03ee254765ce65366373174ec346f15fe1119a10 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 7 Mar 2025 22:44:46 +0300 Subject: [PATCH] started docs... Signed-off-by: Alex A. Naanou --- experiments/outline-editor/editor.js | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index a80912c..9915b88 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -164,6 +164,50 @@ var getText = function(elem){ //--------------------------------------------------------------------- // Plugins... +// +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// +// var somePlugin = { +// __proto__: plugin, +// +// XXX +// } +// +// .encode() +// -> +// +// .__setup__() +// -> +// +// +// .__parse_code__(, , ) +// -> +// +// +// .__pre_parse__(, , ) +// -> +// +// .__parse__(, , ) +// -> +// +// .__post_parse__(, , ) +// -> +// +// +// .__parse_attrs__(, , ) +// -> +// +// .__click__() +// .__focusin__() +// .__focusout__() +// .__keydown__() +// .__keyup__() +// .__editedcode__() +// +// +// +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// // general helpers and utils... var plugin = {