Estoy usando Ckeditor5 con React y recibí esta advertencia en la consola cuando se procesa el componente, ¿cómo puedo deshacerme de esto?
Esta es la referencia de error en el documento oficial.
Y este es mi componente
export const EditorField = (props) => { const {name,method,placeholder,isSimplified} = props const link = { decorators: { toggleDownloadable: { mode: 'manual', label: 'Downloadable', attributes: { download: 'file' } }, openInNewTab: { mode: 'manual', label: 'Open in a new tab', defaultValue: true, attributes: { target: '_blank', rel: 'noopener noreferrer' } } } } const image = { toolbar: [ 'imageTextAlternative', 'imageStyle:inline', 'imageStyle:block', 'imageStyle:side', 'linkImage' ] } const table = { contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells', 'tableCellProperties', 'tableProperties' ] } const toolbar = isSimplified ? { items: [ 'bold','italic','underline','strikethrough','|', 'link','|', 'specialCharacters','|', 'undo','redo' ], shouldNotGroupWhenFull: true } : { items: [ 'heading','|', 'bold','italic','underline','strikethrough','|', 'fontColor','fontBackgroundColor','|', 'bulletedList','numberedList','|', 'link','imageUpload','insertTable','mediaEmbed','|', 'specialCharacters','blockQuote','horizontalLine','|', 'undo','redo' ], shouldNotGroupWhenFull: true } return ( <CKEditor config={ { toolbar, language: 'it', placeholder, link, image, table, } } editor={ Editor } data={request[name] || ''} onChange={ (event, editor) => { const data = editor.getData() dispatch(setValue({method,name,value:data})) } } /> ) }Finalmente logré arreglar esto agregando esto a mi configuración.
removePlugins: ["MediaEmbedToolbar"],Por el momento, este complemento no hace nada: https://github.com/ckeditor/ckeditor5/issues/9824