Rails Actiontext/Trix; Can I insert HTML element or attachment just after current text cursor position?

前端 未结 0 564
予麋鹿
予麋鹿 2021-02-07 01:22

I am currently inserting HTML elements into the Rails ActionText/Trix editor,

function insertAttachment (data, trix) {
  const editor = document.getElementById(&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题