8
0
Quellcode durchsuchen

Docs: Updated inline-editor snippet with the latest image styles configuration syntax.

Aleksander Nowodzinski vor 8 Jahren
Ursprung
Commit
32745cc7b7
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. 1 3
      docs/_snippets/examples/inline-editor.js

+ 1 - 3
docs/_snippets/examples/inline-editor.js

@@ -25,20 +25,18 @@ Array.prototype.map.call( inlineInjectElements, inlineElement => {
 					name: 'imageStyleFull',
 					title: 'Full size image',
 					icon: fullSizeIcon,
-					value: null
+					isDefault: true
 				},
 				{
 					name: 'imageStyleLeft',
 					title: 'Left aligned image',
 					icon: alignLeftIcon,
-					value: 'left',
 					className: 'image-style-left'
 				},
 				{
 					name: 'imageStyleRight',
 					title: 'Right aligned image',
 					icon: alignRightIcon,
-					value: 'right',
 					className: 'image-style-right'
 				}
 			]