/**\r
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
* For licensing, see LICENSE.md or http://ckeditor.com/license\r
*/\r
\r
CKEDITOR.plugins.liststyle = {\r
requires: 'dialog,contextmenu',\r
// jscs:disable maximumLineLength\r
- lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
+ lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%\r
// jscs:enable maximumLineLength\r
init: function( editor ) {\r
if ( editor.blockless )\r
\r
def = new CKEDITOR.dialogCommand( 'numberedListStyle', {\r
requiredContent: 'ol',\r
- allowedContent: 'ol{list-style-type}[start]'\r
+ allowedContent: 'ol{list-style-type}[start]; li{list-style-type}[value]',\r
+ contentTransformations: [\r
+ [ 'ol: listTypeToStyle' ]\r
+ ]\r
} );\r
cmd = editor.addCommand( 'numberedListStyle', def );\r
editor.addFeature( cmd );\r
\r
def = new CKEDITOR.dialogCommand( 'bulletedListStyle', {\r
requiredContent: 'ul',\r
- allowedContent: 'ul{list-style-type}'\r
+ allowedContent: 'ul{list-style-type}',\r
+ contentTransformations: [\r
+ [ 'ul: listTypeToStyle' ]\r
+ ]\r
} );\r
cmd = editor.addCommand( 'bulletedListStyle', def );\r
editor.addFeature( cmd );\r