зеркало из https://github.com/nextcloud/text.git
Add proxy-polyfill to make tiptap work with IE11
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
dc1c81c322
Коммит
3d8b3da12b
|
@ -11919,6 +11919,11 @@
|
|||
"integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
|
||||
"dev": true
|
||||
},
|
||||
"proxy-polyfill": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/proxy-polyfill/-/proxy-polyfill-0.3.1.tgz",
|
||||
"integrity": "sha512-jywE1NIksgIGqZc4uF0QLbXGz2RcHQobsCkAW+8F0nr/6agap+TWksEAKyLnIBafPD88HT9qZR2ec0oomHdjcQ=="
|
||||
},
|
||||
"prr": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
"prosemirror-collab": "^1.1.2",
|
||||
"prosemirror-markdown": "^1.3.1",
|
||||
"prosemirror-view": "^1.12.0",
|
||||
"proxy-polyfill": "^0.3.1",
|
||||
"tiptap": "^1.26.4",
|
||||
"tiptap-commands": "^1.12.3",
|
||||
"tiptap-extensions": "^1.28.4",
|
||||
|
|
|
@ -38,6 +38,8 @@ import { Strong, Italic, Strike } from './marks'
|
|||
import { Image, PlainTextDocument } from './nodes'
|
||||
import MarkdownIt from 'markdown-it'
|
||||
|
||||
import 'proxy-polyfill'
|
||||
|
||||
import { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'
|
||||
|
||||
const loadSyntaxHighlight = async(language) => {
|
||||
|
|
|
@ -46,7 +46,7 @@ module.exports = {
|
|||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
exclude: /node_modules/
|
||||
exclude: /node_modules(?!(\/|\\)(proxy-polyfill)(\/|\\))/,
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpg|gif|svg)$/,
|
||||
|
|
Загрузка…
Ссылка в новой задаче