Skip to content

Commit 67d25bf

Browse files
committed
switch to main branch
1 parent 67a40ca commit 67d25bf

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export default class BlockquoteNode extends Node {
387387

388388
### Create a Node as a Vue Component
389389

390-
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)).
390+
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/main/examples/Components/Routes/Embeds)).
391391

392392
```js
393393
import { Node } from 'tiptap'

examples/main.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,154 +15,154 @@ const routes = [
1515
path: '/',
1616
component: () => import('Components/Routes/Basic'),
1717
meta: {
18-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Basic',
18+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Basic',
1919
},
2020
},
2121
{
2222
path: '/menu-bubble',
2323
component: () => import('Components/Routes/MenuBubble'),
2424
meta: {
25-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/MenuBubble',
25+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/MenuBubble',
2626
},
2727
},
2828
{
2929
path: '/floating-menu',
3030
component: () => import('Components/Routes/FloatingMenu'),
3131
meta: {
32-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/FloatingMenu',
32+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/FloatingMenu',
3333
},
3434
},
3535
{
3636
path: '/links',
3737
component: () => import('Components/Routes/Links'),
3838
meta: {
39-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Links',
39+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Links',
4040
},
4141
},
4242
{
4343
path: '/images',
4444
component: () => import('Components/Routes/Images'),
4545
meta: {
46-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Images',
46+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Images',
4747
},
4848
},
4949
{
5050
path: '/hiding-menu-bar',
5151
component: () => import('Components/Routes/HidingMenuBar'),
5252
meta: {
53-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/HidingMenuBar',
53+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/HidingMenuBar',
5454
},
5555
},
5656
{
5757
path: '/tables',
5858
component: () => import('Components/Routes/Tables'),
5959
meta: {
60-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Tables',
60+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Tables',
6161
},
6262
},
6363
{
6464
path: '/todo-list',
6565
component: () => import('Components/Routes/TodoList'),
6666
meta: {
67-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/TodoList',
67+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/TodoList',
6868
},
6969
},
7070
{
7171
path: '/search-and-replace',
7272
component: () => import('Components/Routes/SearchAndReplace'),
7373
meta: {
74-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/SearchAndReplace',
74+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/SearchAndReplace',
7575
},
7676
},
7777
{
7878
path: '/suggestions',
7979
component: () => import('Components/Routes/Suggestions'),
8080
meta: {
81-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Suggestions',
81+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Suggestions',
8282
},
8383
},
8484
{
8585
path: '/markdown-shortcuts',
8686
component: () => import('Components/Routes/MarkdownShortcuts'),
8787
meta: {
88-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/MarkdownShortcuts',
88+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/MarkdownShortcuts',
8989
},
9090
},
9191
{
9292
path: '/code-highlighting',
9393
component: () => import('Components/Routes/CodeHighlighting'),
9494
meta: {
95-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/CodeHighlighting',
95+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/CodeHighlighting',
9696
},
9797
},
9898
{
9999
path: '/history',
100100
component: () => import('Components/Routes/History'),
101101
meta: {
102-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/History',
102+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/History',
103103
},
104104
},
105105
{
106106
path: '/read-only',
107107
component: () => import('Components/Routes/ReadOnly'),
108108
meta: {
109-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/ReadOnly',
109+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/ReadOnly',
110110
},
111111
},
112112
{
113113
path: '/embeds',
114114
component: () => import('Components/Routes/Embeds'),
115115
meta: {
116-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Embeds',
116+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Embeds',
117117
},
118118
},
119119
{
120120
path: '/placeholder',
121121
component: () => import('Components/Routes/Placeholder'),
122122
meta: {
123-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Placeholder',
123+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Placeholder',
124124
},
125125
},
126126
{
127127
path: '/focus',
128128
component: () => import('Components/Routes/Focus'),
129129
meta: {
130-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Focus',
130+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Focus',
131131
},
132132
},
133133
{
134134
path: '/collaboration',
135135
component: () => import('Components/Routes/Collaboration'),
136136
meta: {
137-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Collaboration',
137+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Collaboration',
138138
},
139139
},
140140
{
141141
path: '/title',
142142
component: () => import('Components/Routes/Title'),
143143
meta: {
144-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Title',
144+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Title',
145145
},
146146
},
147147
{
148148
path: '/trailing-paragraph',
149149
component: () => import('Components/Routes/TrailingParagraph'),
150150
meta: {
151-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/TrailingParagraph',
151+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/TrailingParagraph',
152152
},
153153
},
154154
{
155155
path: '/drag-handle',
156156
component: () => import('Components/Routes/DragHandle'),
157157
meta: {
158-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/DragHandle',
158+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/DragHandle',
159159
},
160160
},
161161
{
162162
path: '/export',
163163
component: () => import('Components/Routes/Export'),
164164
meta: {
165-
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/master/examples/Components/Routes/Export',
165+
githubUrl: 'https://github.com/ueberdosis/tiptap/tree/main/examples/Components/Routes/Export',
166166
},
167167
},
168168
]

packages/tiptap-commands/src/commands/splitToDefaultListItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Fragment, Slice } from 'prosemirror-model'
22

33
// this is a copy of canSplit
4-
// see https://github.com/ProseMirror/prosemirror-transform/blob/master/src/structure.js
4+
// see https://github.com/ProseMirror/prosemirror-transform/blob/main/src/structure.js
55

66
// Since this piece of code was "borrowed" from prosemirror, ESLint rules are ignored.
77
/* eslint-disable max-len, no-plusplus, no-undef, eqeqeq */
@@ -32,7 +32,7 @@ index = $pos.index(d)
3232
}
3333

3434
// this is a copy of splitListItem
35-
// see https://github.com/ProseMirror/prosemirror-schema-list/blob/master/src/schema-list.js
35+
// see https://github.com/ProseMirror/prosemirror-schema-list/blob/main/src/schema-list.js
3636

3737
export default function splitToDefaultListItem(itemType) {
3838
return function (state, dispatch) {

0 commit comments

Comments
 (0)