How to integrate Wick Editor in another tool

Hi there,
First of all congratz on the amazing tool!

I am working on a educational project where we want to add some editable sequence of stories.
We are considering using the wick editor as the format for each story.

I noticed that in the examples, see https://github.com/Wicklets/wick-site/tree/master/public/examples/followMouse, wickengine.js is loaded and used to show the animation.

Couple of questions about it:

  • is there an event to leave the animation?
  • where can I find the engine source code I would like to integrate it as an angular component

thanks
Hamilton

Never mind about the engine code, found it https://github.com/Wicklets/wick-editor/tree/master/engine

Guidance about an event to leave the animation is still appreciated :slight_smile:

what do you mean by leaving the animation?
wick project is rendered as html canvas element enclosed in a div tag
you may want to hide or remove the div content
you may also want to jump to another page.You can do it by adding a window.location.assign(“yourlink”) to a wick button

1 Like

Oh cool, so the script will be executed using the existing DOM. got it.
That should do the trick :slight_smile:

btw the project I am working on is this www.robolucha.com

Regards
Hamilton