[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
Arcoetanche
/
wp-content
/
plugins
/
redux-framework
/
redux-core
/
extendify-sdk
/
src
/
util
+ Folder
+ File
Upload
Editing: templateInjection.js
import { dispatch } from '@wordpress/data' export function injectTemplateBlocks(blocks, templateRaw) { const { insertBlocks } = dispatch('core/block-editor') return insertBlocks(blocks).then(() => { window.dispatchEvent( new CustomEvent('extendify-sdk::template-inserted', { detail: { template: templateRaw, }, bubbles: true, }), ) }) }
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 general.js
FILE
Ren
[EDIT]
DEL
📄 templateInjection.js
FILE
Ren
[EDIT]
DEL