codex-team/editor.js

can we display placeholder only when editor.js is not in readonly mode

開放

#2,495 建立於 2023年9月26日

 (5 則留言) (2 個反應) (0 位負責人)TypeScript (1,985 個分叉)batch import
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.

貢獻者指南