New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: inline style with rich text export? #698
Comments
I think you are talking about copying source as HTML to the clipboard? When you don't use inline styles, the span elements are marked with a class attribute which only show up correctly when an external stylesheet is used. Copy HTML as plain text means that the HTML is copied to the clipboard with MIME-Type If you enable the option 'only copy Pre element', no embedded style sheet is exported. |
Yes, I know these things. My question is: is there a target where I can paste source copied "as HTML" and "no inline styles" and there are external stylesheets? |
You mean an application where you can paste HTML, and that it makes sense not to include inline styles or embed a stylesheet? I don't know of any. |
What do you mean by
? Where is richtext selected? |
Yes, that's the question. I stumbled over that when pasting code into LibreOffice. With "richtext selected" I mean unchecking the option "export HTML as plain text".
doesn't seem to make sense, so inline styles could implicitly switched on in that constellation. |
Ah, ok. This is all about copying colored HTML. When you copy it while "copy HTML as plain text" is selected, HTML is copied to the clipboard, but as The combination that you mention:
does make sense! When you must type text in some web application, where HTML is allowed, and where you know that the stylesheet is already available. (You can create a stylesheet by copying colored HTML to the clipboard as text (with "inline styles" and "only pre tag" disabled) and then paste it back in a new document. Then save the CSS part.) |
OMG, I should have a few days offline ;-) Of course I'm talking about the opposite. What you are describing is exactly what we do on Scores of Beauty: exporting a
|
Is there a target where it makes sense to export colored html using
?
When pasting such an export into a LibreOffice document it is not displayed as highlighted - which is natural as the styles don't exist there.
My question is if there is a possible target where it might make sense to export richtext without embedded stylesheets. If not we should handle this by
The text was updated successfully, but these errors were encountered: