From 07d8894f51f71b30c9c079dcd7dffc0d23154816 Mon Sep 17 00:00:00 2001 From: dax Date: Wed, 22 May 2019 11:02:15 +0200 Subject: [PATCH] --- Home.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Home.md diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..c8d8291 --- /dev/null +++ b/Home.md @@ -0,0 +1,66 @@ + + + +![](http://daxtech.net/media/site/daxtech/Generic/microedit.png) + + +#### Dependency +``` + + + + + + +``` + +#### Init object +``` + +``` + + + +#### HTML placeholder +``` +
My Editor
+``` + + + +#### Parameters +| Parameter | Type | Default value | +| -------- | -------- | -------- | +| controls | array of strings | undo, redo, bold, italic, underline, unlink, removeformat, fontcolor, backcolor, justifyFull, justifyLeft, justifyRight, justifyCenter, code, \| | +| height | string | 200px | +| width | string | 100% | +| borderColor | string | 1px solid #ccc | +| denyLinks | bool | false | +| commandsAlign | string | left | + + + + +#### Methods +| Method name | return | Example | +| -------- | -------- | -------- | +| getHTML | String of html content | ```$('#selector').microEdit('getHTML');``` | +| getHTMLcharCount | Integer, chars count | ```$('#selector').microEdit('getHTMLcharCount'); ``` | + + + + +#### Example with parameters +``` +$('#description').microEdit({ + controls: ['bold', 'italic', '|', 'unlink', 'removeformat' ,'|', 'undo', 'redo'], + denyLinks : true +}); +``` + + +