This content has been marked as final. Show 5 replies
You cannot stop RH's editor rewriting some of the code. You can configure RH to edit using a variety of editor's including Notepad but then you lose the advantages of working in the WYSIWYG editor, such as dragging a topic to preselected text to create a hyperlink.
Applying the em tag indicates you want text to be italic rather than what is defined for the paragraph style in the CSS. If you change the CSS so that the paragraph changes font and point size, even written your way that text would still be italic but in the new font and size. What's the difference?
Sorry, <li><em> to <li><em style="font-style: italic;"> was a bad example.
A better example would be the <p><code> which gets changed to <p><code style="font-family: monospace;">
In the CSS, this font is set to be Courier, but a month ago it was Times New Roman and there is potential for it to change again in the future.
I would like to keep changing the editor as a last resort because I do use the click and drag for links. Is there any other way?
That example is not defining a specific font. Try changing the CSS. I suspect it will work as you want, not as you are expecting.
Test Results: I changed CSS for <code> from Courier to Ariel. Ariel was applied only to those tags that were left as <code>. Tags that RH changed to <code style="font-family: monospace;"> still appeared as Courier. Upon closer inspection some files acted this way and some files ignored the CSS change altogether. Appears as if all files reference the correct CSS. I viewed the same occurances after I closed and reopened RH and after I output the files.
Something else seems to be going on here. I need to do some more testing to see what's up. I appreciate the feedback though. I at least know now that I can change the editor if there is no other workaround. Thanks.
Regarding "the correct CSS," sometimes I've noticed that copying/moving a topic to a different folder will create (or replicate) a .css in that folder. This creates the potential of having 2 css files with the same name in your project. I'm using RH 5, so I open the Topics tab, make sure "All Folders" is selected, select all the topics and then right-click the lot of them and set the .css to the one in the skins folder.
(I may also set the template, though I should think the template only applies when something was CREATED--please tell me how the template is used afterward.)