mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Update VE core submodule to master (52bd0592b)
New changes: c5df99d3a Remove remaining assert.expect's 593b09992 Localisation updates from https://translatewiki.net. 14a29056c Follow-up 593b099: Add 'lfn' language to build to unbreak the repo faba29bde Fix cursor position when adjacent to a nail 9854cc88c Sanitize message body in standalone using DOMPurify 52bd0592b ve.dm.Change: Store DOM node arrays as single strings Local changes: Add sanitize module Bug: T197723 Bug: T197894 Change-Id: I572f5bcc80175cc50ef176efb961c9b10b38c7f0
This commit is contained in:
parent
5772301f77
commit
47e6e3f6b1
|
@ -465,6 +465,12 @@
|
||||||
<!-- visualEditor.diffing.standalone -->
|
<!-- visualEditor.diffing.standalone -->
|
||||||
<script src="lib/ve/src/ui/dialogs/ve.ui.DiffDialog.js"></script>
|
<script src="lib/ve/src/ui/dialogs/ve.ui.DiffDialog.js"></script>
|
||||||
|
|
||||||
|
<!-- dompurify -->
|
||||||
|
<script src="lib/ve/lib/dompurify/purify.js"></script>
|
||||||
|
|
||||||
|
<!-- visualEditor.sanitize -->
|
||||||
|
<script src="lib/ve/src/ve.sanitize.js"></script>
|
||||||
|
|
||||||
<!-- visualEditor.standalone.build -->
|
<!-- visualEditor.standalone.build -->
|
||||||
<script src="lib/ve/src/init/sa/ve.init.sa.js"></script>
|
<script src="lib/ve/src/init/sa/ve.init.sa.js"></script>
|
||||||
<script src="lib/ve/src/init/sa/ve.init.sa.Platform.js"></script>
|
<script src="lib/ve/src/init/sa/ve.init.sa.Platform.js"></script>
|
||||||
|
|
|
@ -278,6 +278,19 @@
|
||||||
"mobile"
|
"mobile"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ext.visualEditor.sanitize": {
|
||||||
|
"scripts": [
|
||||||
|
"lib/ve/src/ve.sanitize.js"
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
"ext.visualEditor.base",
|
||||||
|
"dompurify"
|
||||||
|
],
|
||||||
|
"targets": [
|
||||||
|
"desktop",
|
||||||
|
"mobile"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ext.visualEditor.tempWikitextEditorWidget": {
|
"ext.visualEditor.tempWikitextEditorWidget": {
|
||||||
"scripts": "modules/ve-mw/init/ve.init.mw.TempWikitextEditorWidget.js",
|
"scripts": "modules/ve-mw/init/ve.init.mw.TempWikitextEditorWidget.js",
|
||||||
"styles": "modules/ve-mw/init/styles/ve.init.mw.TempWikitextEditorWidget.less",
|
"styles": "modules/ve-mw/init/styles/ve.init.mw.TempWikitextEditorWidget.less",
|
||||||
|
@ -1255,7 +1268,7 @@
|
||||||
],
|
],
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"ext.visualEditor.core",
|
"ext.visualEditor.core",
|
||||||
"dompurify",
|
"ext.visualEditor.sanitize",
|
||||||
"socket.io",
|
"socket.io",
|
||||||
"color-picker",
|
"color-picker",
|
||||||
"oojs-ui.styles.icons-user",
|
"oojs-ui.styles.icons-user",
|
||||||
|
|
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
||||||
Subproject commit a1fd90540cc79b045f4262c2420b90874609ecdd
|
Subproject commit 52bd0592b764a1dcb727d099993e91d699d1c76e
|
Loading…
Reference in a new issue