Use import from '@umbraco-cms/backoffice/code-editor'; directly. This function will be removed in Umbraco 15.
import from '@umbraco-cms/backoffice/code-editor';
Deprecated
Use
import from '@umbraco-cms/backoffice/code-editor';
directly. This function will be removed in Umbraco 15.