onDisplay()method in your grid.js file. Since the HTML is inside of a
<template>tag, Bloqs can't perform these updates for you. For example, in the
onDisplayhandler you may need to ensure the form fields in your newly added markup have the correct block ID value. The following is an example to get you started:
accepts_content_typemethod in your field type so that it also accepts content for “bloqs/1”.
blocks_discover_fieldtypeshook is called when Bloqs needs to determine which fieldtypes support Bloqs. Extensions may add or remove fieldtypes from the list of valid fieldtypes.
blocks_discover_fieldtypesis called with a single PHP array of stdClass objects, and should return that same PHP array, potentially modified.
setFieldtypemethod, it will be called with the actual fieldtype that is being shimmed.
blocks_post_savehook is called after Bloqs has finished saving.