in question_text_content.twig. Styles are inserted by inline-styles applied on
Code:
<span>
-tags. It is not possible to change the Twig-Filter from
Code:
raw
to
Code:
striptags
("internal server error - Filter "striptags" is not allowed.") to get rid of the
Code:
<span>
-tags.
The problem: The survey creator shall not have the option the change the style especially not the font-family OR should be able to select theme-fonts such as Noto, Lato etc. from within the question-editor.
And maybe you can use ExpressionManager : {{ processString("{strip_tags(".aQuestion.text.")}") }}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
I really appreciate your responses but one thing is interesting: Your solutions are kind of "hacks" while I think that the bigger improvement for LS would be to be able to add custom fonts to the font selector in the question-editor ui.
Please don't get me wrong. Your suggestions do really help me. But I think that the product would grow by a different approach.
Oh, i think strip_tags is really a needed filter and function .
Except it's not a hack : it's the way of Yii management : the way to do for Yii .
But maybe some specific filter/function can be managed only in config .
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.