mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 02:40:23 +02:00
fix some problems at example
This commit is contained in:
parent
7525427fa0
commit
5679fd1817
BIN
example/assets/codex2x.png
Normal file
BIN
example/assets/codex2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue