codex-team/editor.js
can we display placeholder only when editor.js is not in readonly mode
開放
#2,495 建立於 2023年9月26日
good first issue
倉庫指標
- 星標
- (26,602 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
can we display editor.js placeholder only when editor.js is not in readonly mode?
const editor = new EditorJS({
...
placeholder: 'Let`s write an awesome story!' <----- only display when readOnly is false.
...
});
Thank you.