Coder Social home page Coder Social logo

topo-io / tiptap-extensions Goto Github PK

View Code? Open in Web Editor NEW
61.0 0.0 11.0 2.94 MB

Column extension for tiptap v2

Home Page: https://codesandbox.io/p/github/GoCapsule/tiptap-extensions/main

TypeScript 92.51% CSS 2.66% JavaScript 4.83%
columns extension plugin rich-text-editor tiptap

tiptap-extensions's People

Contributors

joeroddy avatar leonard-henriquez avatar m4r71n avatar marclave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiptap-extensions's Issues

Not working in Vue2

I am not able to use any commands of extension in vue app. Is this extension only compatible with React apps? It gives me

TypeError: this.editor.chain(...).focus(...).setColumns is not a function

Can you please help me with these?

Issue when loading data into editor

With an empty editor, the columns seems to render properly and is editable:
Screenshot 2022-10-13 at 6 06 58 PM

But when loading saved data into editor, it loses the column markup:
Screenshot 2022-10-13 at 6 07 11 PM

Actual data:

<div class="column-block"><div class="column"><p>one</p></div><div class="column"><p>two</p></div></div>

What the editor holds:

<div contenteditable="true" translate="no" class="ProseMirror" tabindex="0"><p>one</p><p>two</p></div>

Any idea what I may be doing wrong?

CodeSandbox Broken

The code sandbox in the Github readme is broken.

Error on load:
-1 - Error: UNKNOWN_ERROR - 500 - {"error":"Error","message":"initialize error: Cannot use simple-git on a directory that does not exist"} (500)

Side-note: Thank you for making this. Works great and saved a ton of time.

Package error in Vue

I get the following error with my vue 3/vite environment:

[vite] Internal server error: Failed to resolve entry for package "@gocapsule/column-extension". The package may have incorrect main/module/exports specified in its package.json.

this is how I call it in my file:

import ColumnExtension from '@gocapsule/column-extension';

this is how i call it in my package:

"@gocapsule/column-extension": "^0.1.1"

I use the vue 3 package for tiptap not the core one, maybe that's an issue?

parsing issue

Thanks for the package. It works fine but when I save the layout and retrieve the content the parent div gets lost for some reason and the layout disappear.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.