mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 15:45:47 +01:00
editor.settings.placeholder
This commit is contained in:
parent
73ebe4162f
commit
dfdaba6bb1
5 changed files with 7 additions and 7 deletions
|
|
@ -60,6 +60,7 @@
|
|||
codex.editor.start({
|
||||
holderId : "codex-editor",
|
||||
initialBlockPlugin : 'paragraph',
|
||||
// placeholder: 'Прошлой ночью мне приснилось...',
|
||||
hideToolbar: false,
|
||||
tools : {
|
||||
paragraph: {
|
||||
|
|
@ -222,7 +223,6 @@
|
|||
},
|
||||
data : {
|
||||
id: +new Date(),
|
||||
placeholder: 'Прошлой ночью мне приснилось...',
|
||||
items: [
|
||||
{
|
||||
type : 'header',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue