Interface UpdatableRichTextField
- All Superinterfaces:
CanBeCustomField
,CanRender<Renderer<? extends Renderer<?>>>
,Field
,PlainTextField
,RichTextField
,ScalarField<Text>
,UpdatableCanBeCustomField
,UpdatablePlainTextField
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setHtmlFromEditor
(String value) Value is rendered for a save before persisting.void
setPersistedHtml
(String value) Value is trimmed before persisting and when it is empty afterwards, then null is written to persistence.Methods inherited from interface com.polarion.alm.shared.api.model.fields.CanBeCustomField
containsIncompatibleValue
Methods inherited from interface com.polarion.alm.shared.api.model.fields.Field
can, compareWith, description, id, is, label
Methods inherited from interface com.polarion.alm.shared.api.model.fields.PlainTextField
asPlainText
Methods inherited from interface com.polarion.alm.shared.api.model.fields.RichTextField
persistedHtml, render
Methods inherited from interface com.polarion.alm.shared.api.model.fields.ScalarField
get, getIfCan
Methods inherited from interface com.polarion.alm.shared.api.model.fields.UpdatableCanBeCustomField
clear
Methods inherited from interface com.polarion.alm.shared.api.model.fields.UpdatablePlainTextField
setPlainText
-
Method Details
-
setPersistedHtml
Value is trimmed before persisting and when it is empty afterwards, then null is written to persistence.- See Also:
-
setHtmlFromEditor
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
-