Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add proxy-polyfill to make tiptap work with IE11
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jun 16, 2020
commit 29e2134cc69fcc2e6a922f344a61046461f3e7c3
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"prosemirror-transform": "^1.2.3",
"prosemirror-utils": "^0.9.6",
"prosemirror-view": "^1.13.11",
"proxy-polyfill": "^0.3.1",
"tiptap": "^1.26.6",
"tiptap-commands": "^1.12.5",
"tiptap-extensions": "^1.28.6",
Expand Down
2 changes: 2 additions & 0 deletions src/EditorFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ import MarkdownIt from 'markdown-it'
import taskLists from 'markdown-it-task-lists'
import { translate as t } from '@nextcloud/l10n'

import 'proxy-polyfill'

import { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'

const loadSyntaxHighlight = async(language) => {
Expand Down
2 changes: 1 addition & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
exclude: /node_modules(?!(\/|\\)(proxy-polyfill)(\/|\\))/,
},
{
test: /\.(png|jpg|gif|svg)$/,
Expand Down