Skip to content
Snippets Groups Projects
Commit c0dc5688 authored by Jure's avatar Jure
Browse files

fix: enable readonly mode for new Wax

parent 8c9781f7
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ const user = {
username: 'demo',
}
const Editoria = ({ content }) => (
const Editoria = ({ content, readonly }) => (
<Fragment>
{/* <GlobalStyle /> */}
<Wax
......@@ -36,6 +36,7 @@ const Editoria = ({ content }) => (
fileUpload={file => renderImage(file)}
layout={EditoriaLayout}
value={content}
readonly={readonly}
placeholder="Type Something..."
// onChange={source => console.log(source)}
user={user}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment