import Editor from '@react-page/editor' ; import image from '@react-page/plugins-image' ; import slate from '@react-page/plugins-slate' ; import React from 'react' ; import PageLayout from '../../components/PageLayout' ; import { demoSimpleReadOnly } from '../../sampleContents/demoSimpleReadOnly' ; const cellPlugins = [ slate ( ) , image ] ; export default function ReadOnlyExample ( ) { return ( < PageLayout > < Editor value = { demoSimpleReadOnly } cellPlugins = { cellPlugins } readOnly / > < /PageLayout>); }