Maintain named CSS-styles throughout HTML import-export
Posted: Thu Sep 24, 2009 5:33 am
The Problem:
How to get user-defined/custom named CSS-styles back from RV HTML export, after these named CSS-styles had been imported into RV from HTML/CSS ?
Or shorter: How to maintain custom named CSS-styles in RV?
Current Behaviour:
Importing HTML (rvhtmlimport 0.0027) with named CSS-styles/element-classes (like <span class="xyz">) works fine.
Once imported (TRichView 10.4), the content items in RV 'forget' their CSS class name. Neither RVItem nor their related styles in RVStyle 'know' about css-class/name or any such property.
Now, saving back to HTML, with options to output CSS, auto-generates non-customisable unique names (with integer increments) for each CSS-style/element-class.
The original CSS styles / class names are gone.
Questions:
1) Are you planning any amendments to make custom named CSS-styles maintainable in the near future?
2) If not, what would be a good approach to customise RV source code, in order to make the RVStyle and/or RVItem custom-CSS-styles-aware?
Best regards,
-- Lutz
How to get user-defined/custom named CSS-styles back from RV HTML export, after these named CSS-styles had been imported into RV from HTML/CSS ?
Or shorter: How to maintain custom named CSS-styles in RV?
Current Behaviour:
Importing HTML (rvhtmlimport 0.0027) with named CSS-styles/element-classes (like <span class="xyz">) works fine.
Once imported (TRichView 10.4), the content items in RV 'forget' their CSS class name. Neither RVItem nor their related styles in RVStyle 'know' about css-class/name or any such property.
Now, saving back to HTML, with options to output CSS, auto-generates non-customisable unique names (with integer increments) for each CSS-style/element-class.
The original CSS styles / class names are gone.
Questions:
1) Are you planning any amendments to make custom named CSS-styles maintainable in the near future?
2) If not, what would be a good approach to customise RV source code, in order to make the RVStyle and/or RVItem custom-CSS-styles-aware?
Best regards,
-- Lutz