Compare commits

...

4 Commits

Author SHA1 Message Date
a2e3d9c0da Merge branch 'master' of github.com:flynx/pWiki 2025-03-08 17:55:41 +03:00
28d0da2447 docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-03-08 17:51:29 +03:00
03ee254765 started docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-03-07 22:44:46 +03:00
a562d70052 notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-03-06 17:25:33 +03:00

View File

@ -1,6 +1,7 @@
/********************************************************************** /**********************************************************************
* *
* *
* XXX need better general/arch docs...
* *
**********************************************************************/ **********************************************************************/
@ -163,6 +164,58 @@ var getText = function(elem){
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// Plugins... // 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>
//
// .__change__()
//
// .__editedview__()
// .__editedcode__()
//
// .__click__()
// .__focusin__()
// .__focusout__()
// .__keydown__()
// .__keyup__()
//
//
// NOTE: new extension methods can be defined/called in plugins via
// the .runPlugins(..) method.
//
//
//
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//
// general helpers and utils... // general helpers and utils...
var plugin = { var plugin = {