striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit 3aa56051e86c3eabbea27d8f852327a60b633711
parent eca4599a64e2d82d837eb7187293c54a1845cc81
Author: hunite <hunite@striven.com>
Date:   Thu, 19 Sep 2019 09:02:15 -0400

REAMDE

Diffstat:
MREADME.md | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -154,6 +154,8 @@ Then take the SVG element's ```viewBox``` attribute data and the path element's |:-:|:-:|:-:| |getFiles|```Array``` of ```File```|Returns an Array of Files attached to the editor| |getContent|```String```|Returns an HTML String of the editor's contents| +|setContent(```String```)|None|Set the editor ```innerHTML``` content by passing an HTML string| +|clearContent|None|Clear the editor of its current contents| |getRange|```Range```|Get the current [Range](https://developer.mozilla.org/en-US/docs/Web/API/Range) of the window at index ```0```| |attachFile(```File```)|None|Attaches given file to the editor| |openLinkMenu|None|Opens the ```insertLink``` menu|