Skip to content

Commit cc2cb77

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
Add proxy-polyfill to make tiptap work with IE11
Signed-off-by: Julius Härtl <[email protected]>
1 parent 38932b5 commit cc2cb77

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/EditorFactory.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ import MarkdownIt from 'markdown-it'
4040
import taskLists from 'markdown-it-task-lists'
4141
import { translate as t } from '@nextcloud/l10n'
4242

43+
import 'proxy-polyfill'
44+
4345
import { MarkdownSerializer, defaultMarkdownSerializer } from 'prosemirror-markdown'
4446

4547
const loadSyntaxHighlight = async(language) => {

webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747
{
4848
test: /\.js$/,
4949
loader: 'babel-loader',
50-
exclude: /node_modules/
50+
exclude: /node_modules(?!(\/|\\)(proxy-polyfill)(\/|\\))/,
5151
},
5252
{
5353
test: /\.(png|jpg|gif|svg)$/,

0 commit comments

Comments
 (0)