Coder Social home page Coder Social logo

johnpuddephatt / gutentap Goto Github PK

View Code? Open in Web Editor NEW
80.0 7.0 10.0 1.4 MB

Tiptap based block editor

Home Page: http://gutentap.letsdance.agency/

License: MIT License

JavaScript 95.09% Vue 2.64% TypeScript 2.03% CSS 0.21% HTML 0.03%
tiptap tiptap-editor vue vue3

gutentap's Introduction

gutentap

Demo here

Project setup

Install with npm install gutentap.

import { GutenTap }  from "gutentap"
import 'gutentap/style.css'

<GutenTap v-model="content" mode="json" />

Mode can be json or html.

To do

  • Make package an installable library
  • Add HTML/JSON 'mode' property
  • Fix bullet/numbered list toggle
  • Small/touch screen optimisation
  • Add table tools (new row/delete row etc)
  • Create vue components for key UI elements – e.g. dropdown menus
  • Improve titles/tooltips with some sort of popover (tippy?)
  • Add property to block tools determining if they can be converted
  • add […] menu to end of floating toolbar: delete block, duplicate block
  • import blockquote separately to starter kit and extend it to only support paragraph tags
  • block width tool works on nested paragraphs (e.g. inside blockquote)
  • block width tool double icon when applied to blockquote (look at logic for showing icons... isActiveTest which uses .isActive() https://tiptap.dev/api/editor#is-active we can specify block type which should help – feed in top level block? )
  • explore fix for buggyness of inline* for tablecell content
  • harmonize approach for finding/selecting parent block - e.g. https://github.com/ueberdosis/tiptap/blob/8c6751f0c638effb22110b62b40a1632ea6867c9/packages/core/src/commands/deleteNode.ts

gutentap's People

Contributors

johnpuddephatt 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gutentap's Issues

License file?

Just saw your Reddit post. Very nice! I'd love to try this in an app I'm building but there's no license file. Is it MIT? Would you be able to add one?

Expose "editable" property

Hello, this is an amazing project!

Q: Is there a way to expose the editor's editable propery (and maybe others)? I'm trying to create an instance of GutenTap editor that can be toggled between read/edit mode.

Perhaps a new prop? Or using defineExpose?

Nuxt 3 support

I really like this project.

How to use this in Nuxt 3?

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.