Interface UpdatableRichTextField

All Superinterfaces:
CanBeCustomField, CanRender<Renderer<? extends Renderer<?>>>, Field, PlainTextField, RichTextField, ScalarField<Text>, UpdatableCanBeCustomField, UpdatablePlainTextField

public interface UpdatableRichTextField extends RichTextField, UpdatablePlainTextField
Since:
3.9.0
  • Method Details

    • setPersistedHtml

      void setPersistedHtml(@Nullable String value)
      Value is trimmed before persisting and when it is empty afterwards, then null is written to persistence.
      See Also:
    • setHtmlFromEditor

      void setHtmlFromEditor(@Nullable String value)
      Value is rendered for a save before persisting. Unlike in setPersistedHtml(). This means, for example, that links are not persisted as rendered and zero-width space characters are processed during persistance. This is used for persisting HTML from the editor.
      Since:
      3.20.2