diff --git a/packages/format-library/src/language/index.js b/packages/format-library/src/language/index.js index a3566a0d0b693..87032c3ea88a8 100644 --- a/packages/format-library/src/language/index.js +++ b/packages/format-library/src/language/index.js @@ -20,6 +20,14 @@ import { translation } from '@wordpress/icons'; const name = 'core/language'; const title = __( 'Language' ); +export const language = { + name, + tagName: 'span', + className: 'lang-attribute', + edit: Edit, + title, +}; + const Edit = ( props ) => { const { contentRef, isActive, onChange, value } = props; const anchorRef = useAnchor( { @@ -104,11 +112,3 @@ const Edit = ( props ) => { ); }; - -export const language = { - name, - tagName: 'span', - className: 'lang-attribute', - edit: Edit, - title, -};