SonicJS headless CMS knowledge base, coding standards, and architectural guidelines.
93
93%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Admin → Plugins and locate the plugin you want to enable.Admin → Plugins and that its associated UI or API endpoint responds as expected.Admin → Plugins → Email Plugin. Requires working Email Plugin.Admin → Plugins.# Apply manually if not using automatic D1 deployment
wrangler d1 execute <DATABASE_NAME> --file=migrations/021_add_otp_login.sqlWhen defining a field in a content schema, set fieldType to the desired editor plugin:
{
name: 'content',
type: 'string',
title: 'Content',
// Options: 'easymde' (default), 'tinymce', 'quill'
fieldType: 'easymde',
required: true
}To switch editors:
TinyMCE or Quill) in Admin → Plugins.wrangler d1 execute <DATABASE_NAME> --file=migrations/022_add_tinymce_plugin.sqlfieldType value in your schema to tinymce or quill.Some plugins require specific migrations before they are functional:
| Plugin | Migration File |
|---|---|
| OTP Login | 021_add_otp_login.sql |
| TinyMCE | 022_add_tinymce_plugin.sql |
Migrations run automatically on D1 deployment. For manual deployments, apply them with wrangler d1 execute as shown above.
Admin → Tools → DatabaseAdmin → Plugins → Email PluginAdmin → Tools → Seed Datadocs
skills