mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 19:29:02 +08:00
update repository name
This commit is contained in:
parent
4ab58604a2
commit
8186db5158
@ -5,7 +5,7 @@ A renderless and extendable rich-text editor for [Vue.js](https://github.com/vue
|
|||||||
[![](https://img.shields.io/npm/dm/tiptap.svg)](https://npmcharts.com/compare/tiptap?minimal=true)
|
[![](https://img.shields.io/npm/dm/tiptap.svg)](https://npmcharts.com/compare/tiptap?minimal=true)
|
||||||
[![](https://img.shields.io/npm/l/tiptap.svg)](https://www.npmjs.com/package/tiptap)
|
[![](https://img.shields.io/npm/l/tiptap.svg)](https://www.npmjs.com/package/tiptap)
|
||||||
[![](https://img.badgesize.io/https://unpkg.com/tiptap/dist/tiptap.min.js?compression=gzip&label=size&colorB=000000)](https://www.npmjs.com/package/tiptap)
|
[![](https://img.badgesize.io/https://unpkg.com/tiptap/dist/tiptap.min.js?compression=gzip&label=size&colorB=000000)](https://www.npmjs.com/package/tiptap)
|
||||||
[![Build Status](https://travis-ci.org/scrumpy/tiptap.svg?branch=master)](https://travis-ci.org/scrumpy/tiptap)
|
[![Build Status](https://travis-ci.org/ueberdosis/tiptap.svg?branch=master)](https://travis-ci.org/ueberdosis/tiptap)
|
||||||
|
|
||||||
## Why I built tiptap
|
## Why I built tiptap
|
||||||
I was looking for a text editor for [Vue.js](https://github.com/vuejs/vue) and found some solutions that didn't really satisfy me. The editor should be easy to extend and not based on old dependencies such as jQuery. For React there is already a great editor called [Slate.js](https://github.com/ianstormtaylor/slate), which impresses with its modularity. I came across [Prosemirror](https://github.com/prosemirror) and decided to build on it. Prosemirror is a toolkit for building rich-text editors that are already in use at many well-known companies such as *Atlassian* or *New York Times*.
|
I was looking for a text editor for [Vue.js](https://github.com/vuejs/vue) and found some solutions that didn't really satisfy me. The editor should be easy to extend and not based on old dependencies such as jQuery. For React there is already a great editor called [Slate.js](https://github.com/ianstormtaylor/slate), which impresses with its modularity. I came across [Prosemirror](https://github.com/prosemirror) and decided to build on it. Prosemirror is a toolkit for building rich-text editors that are already in use at many well-known companies such as *Atlassian* or *New York Times*.
|
||||||
@ -377,7 +377,7 @@ export default class BlockquoteNode extends Node {
|
|||||||
|
|
||||||
### Create a Node as a Vue Component
|
### Create a Node as a Vue Component
|
||||||
|
|
||||||
The real power of the nodes comes in combination with Vue components. Let us build an iframe node, where you can change its URL (this can also be found in our [examples](https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Embeds)).
|
The real power of the nodes comes in combination with Vue components. Let us build an iframe node, where you can change its URL (this can also be found in our [examples](https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Embeds)).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { Node } from 'tiptap'
|
import { Node } from 'tiptap'
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
</h1>
|
</h1>
|
||||||
<github-button
|
<github-button
|
||||||
class="navigation__count"
|
class="navigation__count"
|
||||||
href="https://github.com/scrumpy/tiptap"
|
href="https://github.com/ueberdosis/tiptap"
|
||||||
data-show-count="true"
|
data-show-count="true"
|
||||||
aria-label="Star scrumpy/tiptap on GitHub"
|
aria-label="Star ueberdosis/tiptap on GitHub"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -17,13 +17,13 @@
|
|||||||
<a class="navigation__link" href="https://tiptap.dev/docs" target="_blank">
|
<a class="navigation__link" href="https://tiptap.dev/docs" target="_blank">
|
||||||
Documentation
|
Documentation
|
||||||
</a>
|
</a>
|
||||||
<a class="navigation__link" href="https://github.com/scrumpy/tiptap/blob/master/CONTRIBUTING.md" target="_blank">
|
<a class="navigation__link" href="https://github.com/ueberdosis/tiptap/blob/master/CONTRIBUTING.md" target="_blank">
|
||||||
Contribute
|
Contribute
|
||||||
</a>
|
</a>
|
||||||
<a class="navigation__link" href="https://github.com/sponsors/ueberdosis" target="_blank">
|
<a class="navigation__link" href="https://github.com/sponsors/ueberdosis" target="_blank">
|
||||||
Sponsor
|
Sponsor
|
||||||
</a>
|
</a>
|
||||||
<a class="navigation__github-link" href="https://github.com/scrumpy/tiptap" target="_blank">
|
<a class="navigation__github-link" href="https://github.com/ueberdosis/tiptap" target="_blank">
|
||||||
<icon class="navigation__icon" name="github" />
|
<icon class="navigation__icon" name="github" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,154 +15,154 @@ const routes = [
|
|||||||
path: '/',
|
path: '/',
|
||||||
component: () => import('Components/Routes/Basic'),
|
component: () => import('Components/Routes/Basic'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Basic',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Basic',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/menu-bubble',
|
path: '/menu-bubble',
|
||||||
component: () => import('Components/Routes/MenuBubble'),
|
component: () => import('Components/Routes/MenuBubble'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/MenuBubble',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/MenuBubble',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/floating-menu',
|
path: '/floating-menu',
|
||||||
component: () => import('Components/Routes/FloatingMenu'),
|
component: () => import('Components/Routes/FloatingMenu'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/FloatingMenu',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/FloatingMenu',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/links',
|
path: '/links',
|
||||||
component: () => import('Components/Routes/Links'),
|
component: () => import('Components/Routes/Links'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Links',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Links',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/images',
|
path: '/images',
|
||||||
component: () => import('Components/Routes/Images'),
|
component: () => import('Components/Routes/Images'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Images',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Images',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/hiding-menu-bar',
|
path: '/hiding-menu-bar',
|
||||||
component: () => import('Components/Routes/HidingMenuBar'),
|
component: () => import('Components/Routes/HidingMenuBar'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/HidingMenuBar',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/HidingMenuBar',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/tables',
|
path: '/tables',
|
||||||
component: () => import('Components/Routes/Tables'),
|
component: () => import('Components/Routes/Tables'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Tables',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Tables',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/todo-list',
|
path: '/todo-list',
|
||||||
component: () => import('Components/Routes/TodoList'),
|
component: () => import('Components/Routes/TodoList'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/TodoList',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/TodoList',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/search-and-replace',
|
path: '/search-and-replace',
|
||||||
component: () => import('Components/Routes/SearchAndReplace'),
|
component: () => import('Components/Routes/SearchAndReplace'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/SearchAndReplace',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/SearchAndReplace',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/suggestions',
|
path: '/suggestions',
|
||||||
component: () => import('Components/Routes/Suggestions'),
|
component: () => import('Components/Routes/Suggestions'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Suggestions',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Suggestions',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/markdown-shortcuts',
|
path: '/markdown-shortcuts',
|
||||||
component: () => import('Components/Routes/MarkdownShortcuts'),
|
component: () => import('Components/Routes/MarkdownShortcuts'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/MarkdownShortcuts',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/MarkdownShortcuts',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/code-highlighting',
|
path: '/code-highlighting',
|
||||||
component: () => import('Components/Routes/CodeHighlighting'),
|
component: () => import('Components/Routes/CodeHighlighting'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/CodeHighlighting',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/CodeHighlighting',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/history',
|
path: '/history',
|
||||||
component: () => import('Components/Routes/History'),
|
component: () => import('Components/Routes/History'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/History',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/History',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/read-only',
|
path: '/read-only',
|
||||||
component: () => import('Components/Routes/ReadOnly'),
|
component: () => import('Components/Routes/ReadOnly'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/ReadOnly',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/ReadOnly',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/embeds',
|
path: '/embeds',
|
||||||
component: () => import('Components/Routes/Embeds'),
|
component: () => import('Components/Routes/Embeds'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Embeds',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Embeds',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/placeholder',
|
path: '/placeholder',
|
||||||
component: () => import('Components/Routes/Placeholder'),
|
component: () => import('Components/Routes/Placeholder'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Placeholder',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Placeholder',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/focus',
|
path: '/focus',
|
||||||
component: () => import('Components/Routes/Focus'),
|
component: () => import('Components/Routes/Focus'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Focus',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Focus',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/collaboration',
|
path: '/collaboration',
|
||||||
component: () => import('Components/Routes/Collaboration'),
|
component: () => import('Components/Routes/Collaboration'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Collaboration',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Collaboration',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/title',
|
path: '/title',
|
||||||
component: () => import('Components/Routes/Title'),
|
component: () => import('Components/Routes/Title'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Title',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Title',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/trailing-paragraph',
|
path: '/trailing-paragraph',
|
||||||
component: () => import('Components/Routes/TrailingParagraph'),
|
component: () => import('Components/Routes/TrailingParagraph'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/TrailingParagraph',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/TrailingParagraph',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/drag-handle',
|
path: '/drag-handle',
|
||||||
component: () => import('Components/Routes/DragHandle'),
|
component: () => import('Components/Routes/DragHandle'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/DragHandle',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/DragHandle',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/export',
|
path: '/export',
|
||||||
component: () => import('Components/Routes/Export'),
|
component: () => import('Components/Routes/Export'),
|
||||||
meta: {
|
meta: {
|
||||||
githubUrl: 'https://github.com/scrumpy/tiptap/tree/master/examples/Components/Routes/Export',
|
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Export',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/scrumpy/tiptap.git"
|
"url": "git+https://github.com/ueberdosis/tiptap.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/scrumpy/tiptap/issues"
|
"url": "https://github.com/ueberdosis/tiptap/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prosemirror-commands": "^1.1.4",
|
"prosemirror-commands": "^1.1.4",
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/scrumpy/tiptap.git"
|
"url": "git+https://github.com/ueberdosis/tiptap.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/scrumpy/tiptap/issues"
|
"url": "https://github.com/ueberdosis/tiptap/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lowlight": "^1.14.0",
|
"lowlight": "^1.14.0",
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/scrumpy/tiptap.git"
|
"url": "git+https://github.com/ueberdosis/tiptap.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/scrumpy/tiptap/issues"
|
"url": "https://github.com/ueberdosis/tiptap/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prosemirror-model": "^1.10.0",
|
"prosemirror-model": "^1.10.0",
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/scrumpy/tiptap.git"
|
"url": "git+https://github.com/ueberdosis/tiptap.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/scrumpy/tiptap/issues"
|
"url": "https://github.com/ueberdosis/tiptap/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prosemirror-commands": "1.1.4",
|
"prosemirror-commands": "1.1.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user