<?xml version="1.0" encoding="utf-8" ?>
<templates xml:space="preserve">
    <t t-inherit="web.PropertyValue" t-inherit-mode="extension">
        <xpath expr="//t[@t-elif=&#34;props.type === 'text'&#34;]" position="before">
            <t t-elif="props.type === 'html'">
                <HtmlViewer
                    t-if="this.props.readonly"
                    config="getReadonlyConfig()"
                    migrateHTML="false"/>
                <Wysiwyg
                    t-else=""
                    config="this.getConfig()"
                    onLoad.bind="onEditorLoad"
                    onBlur.bind="onEditorBlur"
                    t-key="htmlState.key"/>
            </t>
        </xpath>
    </t>
</templates>
