started docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-03-07 22:44:46 +03:00
parent a562d70052
commit 03ee254765

View File

@ -164,6 +164,50 @@ var getText = function(elem){
//---------------------------------------------------------------------
// Plugins...
//
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//
// var somePlugin = {
// __proto__: plugin,
//
// XXX
// }
//
// .encode(<str>)
// -> <str>
//
// .__setup__(<editor>)
// -> <this>
//
//
// .__parse_code__(<string>, <editor>, <elem>)
// -> <string>
//
//
// .__pre_parse__(<string>, <editor>, <elem>)
// -> <string>
//
// .__parse__(<string>, <editor>, <elem>)
// -> <string>
//
// .__post_parse__(<string>, <editor>, <elem>)
// -> <string>
//
//
// .__parse_attrs__(<attrs>, <editor>, <elem>)
// -> <attrs>
//
// .__click__()
// .__focusin__()
// .__focusout__()
// .__keydown__()
// .__keyup__()
// .__editedcode__()
//
//
//
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//
// general helpers and utils...
var plugin = {