This lives in: wp-calpyso/packages/verbum-block-editor.
Verbum Block Editor is a lightweight Gutenberg editor, tailored specifically for enhancing the commenting experience. It offers a user-friendly interface, enabling effortless composition and formatting of comments.
- Automatically focuses on the last block when clicking on any empty white space.
- Initial focus is set to the first paragraph upon loading.
- Efficiently handles embeds by integrating all necessary API middlewares.
- Incorporates an iframed editor to minimize CSS collisions.
This package can be utilized in two primary ways:
- The package is directly integrated into Calypso as a standard package.
- No separate build process is required after modifications.
- Direct file alterations are reflected immediately in Calypso.
- The package publishes a bundle on widgets.wp.com for broader accessibility.
- Development process:
- Navigate to the package's directory:
cd package/verbum-block-editor
. - Execute
yarn dev --sync
. - Changes are synchronized to
/home/wpcom/public_html/widgets.wp.com/verbum-block-editor
on your sandbox. - This this version,
wp.i18n
global is expected to be present.
- Navigate to the package's directory:
To deploy modifications to the package:
- Ensure your sandbox is in a clean git state.
- Run
yarn upload
. This will upload the production-built files as well as the translations to your sandbox. - Create a patch.
- Deploy the patch.
This project uses .org's GlotPress translations as a source.
To translate simply run yarn translate
.