import { __ } from '@wordpress/i18n'; /* * Anchoring-only format: it serializes an inline note's in-content marker as * ``. Notes are added from the block options * menu instead, since an `edit` with UI would fill `RichText.ToolbarControls`, * which the format toolbar renders inside the "More" (inline styles) dropdown - * the wrong home for an action that is neither an inline style nor exclusive to * text selections. */ export const noteFormat = { title: __( 'Note' ), tagName: 'mark', className: 'wp-note', attributes: { 'data-id': 'data-id', }, };