getCustomCode

getCustomCode

Get custom code settings set by the plugin.

const customCode = await framer.getCustomCode()
if (customCode.bodyStart.disabled) {
  // Custom code was disabled by the user in settings
}

Your plugin can detect if custom code was set and whether the user has disabled it.

Returns