<click-editor-innards>

When placed inside of a part, provides a complete parameterizable <click-editor>.

Parameters

  • view
  • blank-view
  • formlet
    • error-messages
    • input

Usage

<part name="my-part">
  <click-editor-innards>
    <before-view:>My</before-view:>
    <view: replace>
      My <view restore/>
    </view:>
  </click-editor-innards>
</part>

Attributes

The ajax effect options hide and show adjust the effects used when clicking on the element. To adjust the effects on update, set hide and show on the formlet: parameter.

All other ajax options are also supported.

blank-message: the message to display if the field is blank. Note that you’re probably better off changing this via translations (hobo.in_place_editor.click_to_edit).

Show Source


Edit this page