Issue Bug Rejected

#22295textStyle doesn't work

Stefan Froemken 03/18/10, 14:10 updated 12/16/14, 16:36

Description

I just test some stdWrap-Properties and stubled over textStyle which generates font-Tags. I know…font-Tags are deprecated, but it isn’t marked as deprecated and it is documented in TsRef.

My little test-TS:
10 = TEXT
10.value = Ich werde in ein font-Tag gewrapped
10.textStyle.face.field = 1

In frontend I saw only my text. There is no font-Tag wrapped around.

In code I found something like this:

function textStyle(…) {
…
$face = $this->data[$conf[‘face.’][‘field’]];

What’s that?? $this->data??

After changing this to:

$face = $conf[‘face.’][‘field’]

it works like expected.
(issue imported from #M13857)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.