This commit is contained in:
Philipp Kühn 2018-10-07 20:21:47 +02:00
commit 55870ec896
3 changed files with 5 additions and 5 deletions

View File

@ -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?

View File

@ -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": {

View File

@ -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'