{"repo":"sibiraj-s/svelte-tiptap","free":true,"listed":false,"github":"https://github.com/sibiraj-s/svelte-tiptap","clone":"git clone https://github.com/sibiraj-s/svelte-tiptap.git","description":"Svelte components for tiptap v2","language":"TypeScript","stars":333,"topics":["svelte","tiptap","wyswig-editor","tiptap-v2"],"license":"MIT","category":"ui-components","readme_excerpt":"svelte-tiptap Svelte components for tiptap v2 Installation [!NOTE] This package just provides components for svelte. For configuring/customizing the editor, refer tiptap's official documentation. For any issues with the editor. You may need to open the issue on tiptap's repository You can find some examples for the editor here Usage A Simple editor. Refer https://www.tiptap.dev/api/commands/ for available commands Extensions Refer: https://www.tiptap.dev/api/extensions Floating menu This will make a contextual menu appear near a selection of text. The markup and styling are totally up to you. Refer: https://www.tiptap.dev/api/extensions/floating-menu Bubble Menu This will make a contextual menu appear near a selection of text. Use it to let users apply marks to their text selection. The markup and styling are totally up to you. Refer: https://www.tiptap.dev/api/extensions/bubble-menu SvelteNodeViewRenderer SvelteNodeViewRenderer enables rendering Svelte Components as NodeViews. The following is an example for creating a counter component Create a Node Extension Create a Component Use the extension Access/Update Attributes Refer https://www.tiptap.dev/guide/node-views/react/#all-available-props for the list of all available attributes. You can access them like Dragging To make your node views draggable, set draggable: true in the extension and add data-drag-handle to the DOM element that should function as the drag handle. Adding a content editable There is another action call","default_branch":null,"files":null,"tree":[],"storefront":"/r/sibiraj-s","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sibiraj-s/svelte-tiptap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}