inline
The inline
element can be used to define a set of
options hence allowing for a better control over positioning of images
within a content field (that is, basic
field where
mime-type
is set to
application/xhtml+xml
)
You could, for example, enable/disable the image
alignment
option on a field by setting the
value
attribute to on
or
off
. In addition a default alignment can be defined
using value-if-unset
as follows:
<field mime-type="application/xhtml+xml" type="basic" name="body"> <ui:inline> <ui:alignment value="on"> <ui:value-if-unset>top</ui:value-if-unset> </ui:alignment> </ui:inline> </field>