Robert Vogel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231992

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.

Change-Id: Ifec95ff3114ee32a405ec8ff05f45e9339ca4b9e
---
M VisualEditor/VisualEditor.class.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/92/231992/1

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: newchange
Gerrit-Change-Id: Ifec95ff3114ee32a405ec8ff05f45e9339ca4b9e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to