DEV Community

Lucas Canavesio
Lucas Canavesio

Posted on

TinyMCE "Google docs"

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.




Top comments (2)

Collapse
 
mrinasugosh profile image
Mrinalini Sugosh (Mrina)

@luxer066 If you are looking for collaborative editing have you checked out CKEditor?
ckeditor.com/collaboration/

Collapse
 
luxer066 profile image
Lucas Canavesio

Hi @mrinasugosh ๐Ÿ‘‹
For now, I don't need a collaborative editor, but I do need a feature that allows me to view the page in A4 format with horizontal and vertical rules, similar to Google Docs.
The most similar is RichEdit devexpress