simple tiptap extension or prosemirror plugin

Viewed 3221

i would like to use the tiptap editor for vuejs that work with the prosemirror editor.

I have read many about tiptap but the documentation is not the best and prosemirror itself is very complex for me. I hope you can help me.

I would like to implement my own extension in the tiptap editor. For example in the menu i would like to press a button and insert a div in the text field. The div can have many attributes like <div class="rectangle_var" company="example company" var-id="5124">text example</div> and should look like a rectangle. The rectangle should also have a ligth grey color and can have a text like "text example" in the example.

This extension sounds very easy but i don't know how can i create my own extensions for tiptap. Can you help me?

1 Answers
Related