You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add, that if all text had a text class, we'd be able to set default styles. Piggy backing on this issue request, if the text is within an object, you could add a class called text_object_name in addition to the default text class.
So by default, it would look like so: <text x="42" y="3628" class="text">Statistical</text>
Then, using the example from @mbrannstrom above, the text element would look like so: <text x="18" y="7100" class="text text_a">Box</text>
It just gives the capability to style rendered SVGs. It would be up to the user to add the appropriate CSS, but adding the class itself shouldn't break anything.
I love the new CSS styling feature. It would be great if it was possible to apply styling to text inside boxes (or other shapes).
In the following example, it would be nice to set the text color to e.g. white. (the filter works best in chrome)
E.g. with the syntax:
Or, perhaps even better, make the entire styling block into pure CSS:
The
<text>
element would thus have theclass="a"
applied, if it is inside a box with that class.See the current output below:
The text was updated successfully, but these errors were encountered: