Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* update prose block title and description * update image caption to caption * contentpic - change "upload image" to "image" + remove image description * contentpic - change field ordering * infopic - button content above image content * infocol - remove icon description * infobar - add dividers between primary and secondary CTAs * contentpageheader - change summary description * articlepageheader - update summary description * infocards - update maxcolumns title and description * link upload btn - change from solid to outline to reduce visual clutter * article page header - remove misleading image description * infocards - change to radio * refactor - use const * infocards - image child imagefit option to radio * refactor - use const * change image alt text description + refactor to be imported * make image alt text compulsory * update image title + refactor into ImageSrcSchema * fix - remove dynamicdatabanner api endpoint group * fix - infopic both button text and link must be present to show * Revert "make image alt text compulsory" This reverts commit bc4bef7. * standardize all link to use same UI * keystats - fix no way of removing the CTA after editing it once * refactor - use "radio" as const for single source of truth * fix - remove additional gaps * pass in description instead * fix copywriting * fix - passing required props * refactor to use named arg instead of positional * move useTextEditor hook into its own folder * add isTipTapEditorEmpty and tests * add JsonFormsContentpicTextControl * fix prose controls to infer required from schema instead * allow generating of required prose schema * update contentpic to use ContentpicProseSchema instead * add TiptapProseEditor to export index * refactor to use one jsonFormsProseControl * export type and interface * add exhaustic check for switch * pass in isRequired into tiptap onUpdate * refactor to simplify props passing * move constants into constants file to keep useTextEditor file clean * add missing destination for storybook * fix - article page image having description * usememo to imrpve performance * add error message * use FormErrorMessage from OGP design system instead * fix schema matching * fix - error message not showing up * move logic handling to forms instead * fix - not showing values when user click "go back to editing" * use callback on handlechange method * fix type * add getCustomErrorMessage and test * import getCustomErrorMessage into some jsonformscontrol
- Loading branch information