UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

2 lines (1 loc) 602 B
const e="replaceBlock",t="Replace a specific block in the document by its index or CSS selector with new HTML content",o=[{name:"index",type:"number",description:"Zero-based index of the block to replace (use either index or selector, not both)",required:!1},{name:"selector",type:"string",description:'CSS selector to find the block to replace (e.g., "h1", ".my-class", "#my-id"). Use either selector or index, not both',required:!1},{name:"html",type:"string",description:"HTML content for the new block",required:!0}],r=!0;export{t as description,e as name,o as parameters,r as requiresPermission};