jenkins-bot has submitted this change and it was merged.
Change subject: VisualEditor: Added support for various MS Word stylings
......................................................................
VisualEditor: Added support for various MS Word stylings
When "Paste from word" got removed from TinyMCE 4 a lot of formally
supported stylings from Word content got removed. See default
configuration in <tinymce>/plugins/paste/classes/WordFilter.js:114
I have readded most of them in the BSE/VisualEditor configuration.
Needs merge to REL1_23
Change-Id: Ifec95ff3114ee32a405ec8ff05f45e9339ca4b9e
---
M VisualEditor/VisualEditor.class.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Mglaser: Looks good to me, approved
Tweichart: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/VisualEditor/VisualEditor.class.php
b/VisualEditor/VisualEditor.class.php
index 03495d4..746babd 100644
--- a/VisualEditor/VisualEditor.class.php
+++ b/VisualEditor/VisualEditor.class.php
@@ -53,6 +53,7 @@
*/
private $aConfigStandard = array(
'selector' => '#wpTextbox1',
+ 'paste_word_valid_elements' =>
'b,strong,i,em,h1,h2,h3,h4,h5,table,thead,tfoot,tr,th,td,ol,ul,li,a,sub,sup,strike,br,del,div,p',
'plugins' => array(
"lists",
//"emoticons",
--
To view, visit https://gerrit.wikimedia.org/r/231992
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifec95ff3114ee32a405ec8ff05f45e9339ca4b9e
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Tweichart <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits