DEV Community

loading...

TinyMCE "Google docs"

Lucas Canavesio
・1 min read

hola Dev's! Demo CodeSandbox

Alt Text

I'm looking to do a "google docs clone" but can't find a way to split the pages like them with TinyMCE.

Alt Text

I would like to generate A4 pages.

Does anyone come up with an idea?

In this example jvillanueva show how to insert marks with an svg but it would not be elegant. codepen

Feel free to open issues and pull requests.

TinyMCE + NextJS

Demo

CodeSandbox

Install dependencies.

yarn
Enter fullscreen mode Exit fullscreen mode

Run wysiwyg.

yarn dev
Enter fullscreen mode Exit fullscreen mode

Contributing

Pull requests are welcome.




Discussion (0)