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 3203d3eb08b0c1feff462509b8892bde8d6b3be0
parent 1f2b2d5802eb9464cdf90209cfa18283b89ec683
Author: unitehenry <unitehenry@gmail.com>
Date:   Thu, 24 Oct 2019 14:09:43 -0400

README

Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -284,7 +284,7 @@ Then take the SVG element's ```viewBox``` attribute data and the path element's |imageUrl|```String```|```null```|An endpoint to make a ```POST``` request for writing encoded images to the server. <br /> See [Referencing Encoded Images](#writing-encoded-images-to-a-server)| |customToolbarButton|```DOM Node```|```null```|A custom HTML DOM Node option can be passed to append to the toolbar| |activeOptionColor|```String```|```#ddd```|Fill color for the toolbar action to change to when active.| -|submitOnEnter|```Function```|```null```|Handler function that clears the editor on enter and returns the contents submitted. <br /> *Shift + Enter still inserts a break* <br /> ```submitOnEnter({ content, files })``` <br /> **Nothing will return if the editor is empty and no files are attached**| +|onEnter(```e```)|```Function```|```null```|Handler function that fires when the the enter key is pressed| ## Editor Methods