fix some problems at example

This commit is contained in:
Peter Savchenko 2020-03-03 18:43:57 +03:00
parent 7525427fa0
commit 5679fd1817
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C
3 changed files with 4 additions and 10 deletions

BIN
example/assets/codex2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View file

@ -108,10 +108,7 @@
/** /**
* Or pass class directly without any configuration * Or pass class directly without any configuration
*/ */
image: { image: SimpleImage,
class: SimpleImage,
inlineToolbar: ['link'],
},
list: { list: {
class: List, class: List,
@ -265,7 +262,7 @@
{ {
type: 'image', type: 'image',
data: { data: {
url: 'https://capella.pics/bbe6896c-ca1f-439e-8cb6-ebfda0d397d6.jpg', url: 'assets/codex2x.png',
caption: '', caption: '',
stretched: false, stretched: false,
withBorder: true, withBorder: true,

View file

@ -99,10 +99,7 @@
/** /**
* Or pass class directly without any configuration * Or pass class directly without any configuration
*/ */
image: { image: SimpleImage,
class: SimpleImage,
inlineToolbar: ['link'],
},
list: { list: {
class: List, class: List,
@ -254,7 +251,7 @@
{ {
type: 'image', type: 'image',
data: { data: {
url: 'https://capella.pics/bbe6896c-ca1f-439e-8cb6-ebfda0d397d6.jpg', url: 'assets/codex2x.png',
caption: '', caption: '',
stretched: false, stretched: false,
withBorder: true, withBorder: true,