diff --git a/packages/tinyeditor/libtinyeditor.pp b/packages/tinyeditor/libtinyeditor.pp new file mode 100644 index 0000000..64a845b --- /dev/null +++ b/packages/tinyeditor/libtinyeditor.pp @@ -0,0 +1,21 @@ +unit libtinyeditor; + +{$mode objfpc} +{$modeswitch externalclass} + +interface + +Uses JS, Web; + +Type + TTinyEditor = class external name 'Object' (TJSObject) + Public + procedure transformToEditor(aElement : TJSHTMLElement); + end; + +var + tinyEditor : TTinyEditor; external name '__tinyEditor'; + +Implementation + +end.