Interface UpdatableRichTextField
- All Superinterfaces:
CanBeCustomField,CanRender<Renderer<? extends Renderer<?>>>,Field,PlainTextField,RichTextField,ScalarField<Text>,UpdatableCanBeCustomField,UpdatablePlainTextField
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetHtmlFromEditor(String value) Value is rendered for a save before persisting.voidsetPersistedHtml(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
containsIncompatibleValueMethods inherited from interface com.polarion.alm.shared.api.model.fields.Field
can, compareWith, description, id, is, labelMethods inherited from interface com.polarion.alm.shared.api.model.fields.PlainTextField
asPlainTextMethods inherited from interface com.polarion.alm.shared.api.model.fields.RichTextField
persistedHtml, renderMethods inherited from interface com.polarion.alm.shared.api.model.fields.ScalarField
get, getIfCanMethods inherited from interface com.polarion.alm.shared.api.model.fields.UpdatableCanBeCustomField
clearMethods 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
-