Commit 69265199 authored by Jure's avatar Jure

Merge branch 'texteditor-readonly' into 'master'

feat(xpub-edit): add readonly prop to texteditor

See merge request !365
parents 711b893d 054bcefa
Pipeline #8541 passed with stages
in 8 minutes and 27 seconds
......@@ -8,12 +8,13 @@ import * as options from './config'
const TextEditor = ({
className,
value,
onBlur,
onChange,
placeholder,
placeholderClassName,
readonly,
title,
onBlur,
onChange,
value,
}) => (
<HtmlEditor
className={className}
......@@ -22,6 +23,7 @@ const TextEditor = ({
options={options}
placeholder={placeholder}
placeholderClassName={placeholderClassName}
readonly={readonly}
title={title}
value={value}
/>
......
Markdown is supported
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