Controlling Styles That Are Inline? Nope


(Scott) #1

Please allow for the option to remove all styles generated from tumult. I need to control the styles in my own way.


(Mark Hunte) #2

Can you be more specific.

Please give an example where you are having a problem ( post a project )


(Scott) #3

Hey Mark,

The software wants to override all css by injecting its own inline css into the text for formatting purposes. I understand that your servicing a demographic that knows little or nothing about CSS but I suggest you service folks who do understand CSS. Create a button that removes all inline styles for text.

It would essentially be the opposite of the document > Protect from external style but it would only apply to a text element. I suggest you consider applying this thinking to a HTML element as well.

As it stands styling Hype is much too tedius.


(Mark Hunte) #4

I am a user just the same as you , not part of Tumult…:smiley: but you are right some of us do not understand CSS or in my case only what I need to.

Although I think you request is a valid one, I wanted to look at the issue you are having more specifically with the help of a project example that displays the problem.

This will also help others to chime in and give weight to your request as well as us possibly giving you a work around until something else comes along.

You may or may not know that normally to override hypes css with your own you would use the !important directive after the attribute.


(Scott) #5

Mark,

Yep, that’s what I had to finally fall back on !important; “Sigh”. I hope the developers are reading these posts.

Good talking with you.


(Jonathan Deutsch) #6

Yes, we do read the posts :slight_smile:. And this is a very valid request and comes up a lot.

Hype’s runtime sets inline styles, which unfortunately has the highest CSS specificity. If only CSS had a !unimportant this would be an easy fix! I haven’t yet decided the best route to solve this, but it high on the list.


(Ruud Van Oijen) #7

Could’t you just provide an autogeneration of css classes with the styling associated with that element instead of inline styles. I really would like to see hype become more of a competitor in the webdesign market. Particularly the creation of html5 websites.


(Hans-Gerd Claßen) #8

to consider: if you change an outsourced css this’ll affect animations too.
I’d agree that some kind of reuseable styles (charcterstyle, paragraphstyle, elementstyle …) within the UI could be great.


(Jonathan Deutsch) #9

The unfortunate reality is we can’t – at least we’d be trading off this issue with much more major ones (uniqueness, performance, browser compatibility, etc.). That said, if a user has a known environment it might be something we can give an option for.