mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-04 11:49:02 +08:00
Merge branch 'master' of https://github.com/heyscrumpy/tiptap
This commit is contained in:
commit
55870ec896
@ -11,7 +11,7 @@ I was looking for a text editor for [Vue.js](https://github.com/vuejs/vue) and f
|
||||
|
||||
### What means `renderless`?
|
||||
|
||||
Will renderless components you'll have (almost) full control over markup and styling. I don't want to tell you what a menu should look like or where it should be rendered in the DOM. That's all up to you. There is also a [good article](https://adamwathan.me/renderless-components-in-vuejs/) about renderless components by Adam Wathan.
|
||||
With renderless components you'll have (almost) full control over markup and styling. I don't want to tell you what a menu should look like or where it should be rendered in the DOM. That's all up to you. There is also a [good article](https://adamwathan.me/renderless-components-in-vuejs/) about renderless components by Adam Wathan.
|
||||
|
||||
### How is the data stored under the hood?
|
||||
|
||||
|
@ -5,9 +5,9 @@
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "./node_modules/@babel/node/bin/babel-node.js build/examples/server.js --env=development",
|
||||
"build:packages": "./node_modules/@babel/node/bin/babel-node.js build/packages/build.js",
|
||||
"build:examples": "./node_modules/@babel/node/bin/babel-node.js build/examples/build.js --env=production",
|
||||
"start": "node ./node_modules/@babel/node/bin/babel-node.js ./build/examples/server.js --env=development",
|
||||
"build:packages": "node ./node_modules/@babel/node/bin/babel-node.js ./build/packages/build.js",
|
||||
"build:examples": "node ./node_modules/@babel/node/bin/babel-node.js ./build/examples/build.js --env=production",
|
||||
"release": "yarn build:packages && lerna publish"
|
||||
},
|
||||
"babel": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Node } from 'tiptap'
|
||||
import { wrapInList, wrappingInputRule } from 'tiptap-commands'
|
||||
|
||||
export default class BulletNode extends Node {
|
||||
export default class TodoListNode extends Node {
|
||||
|
||||
get name() {
|
||||
return 'todo_list'
|
||||
|
Loading…
Reference in New Issue
Block a user