Forum:Rich editor removing formatting

I guess I am having two troubles:
 * 1) The rich editor is removing formatting (for example the span tag).
 * 2) I am using the span (or the p) tag for formatting pages (creating page breaks for printing), which _might_ not be the best way to do it (though it seems to work ok).

The style I am using for page breaks is; .pagebreakafter{ page-break-after: always; }

When I go into the rich editor, it removes the html tags, but I have read in a help page that the tags I am using are ok... so not sure what the problem is.

I am sure there must be another way to do the formatting. I can disable my rich editor (which I don't mind at all), but I can't stop other people from using it...

In case this post is too confusing, here is my question: "How can I make page breaks for printing that do not get deleted by the rich editor?" or more specifically "How can i use the span tag....?".

Here is the page in question: http://jet.wikia.com/wiki/Sentence_Uno/Resources/JHS/1/Nouns

thanks in advance. --Boy.pockets 02:11, June 18, 2010 (UTC)


 * I can confirm the behavior.
 * I consider this to be a bug. Use Special:Contact. Thanks. — TulipVorlax 02:46, June 18, 2010 (UTC)
 * You can disable it by asking on Special:Contact - when you do, put a link to this forum article, so staff are aware of the bug Random Time  12:37, June 18, 2010 (UTC)


 * I don't know if it's a bug of the RTE, but you aren't using the span tags appropiately. The SPAN tag is a inline-level element, so it must be used inline, for example, inside a paragraph. If your CSS class want to insert a page break, then you want to use it as a block-level element, and thus you should use a block-level element for that. The DIV element is the same as SPAN but for block-level elements, and you should use it instead of SPAN for that purpose. Maybe that's why the RTE is removing the tags. --Ciencia Al Poder (talk) -WikiDex 17:32, June 18, 2010 (UTC)


 * Regardless, it would still be nice if the RTE could get some bug fixes. It really isn't up to the task of editing with wikicode very well. -- Fandyllic  (talk &middot; contr) 11:33 AM PST 18 Jun 2010


 * Hey, i said it was a bug after testing the RTE with a page where i have < p> tag with a style (indent on first line) and the < p> has been removed by the editor when saving wihtout doing any changes to the page.
 * So, it's a bug in the sense that it should not remove any code we put in our pages; but bad code should be considered as ordinary text (bad code like JS). Plus, the span and p tag arent bad code. — TulipVorlax 18:40, June 19, 2010 (UTC)


 * Okay, I guess the RTE is just bad. If it can't even preserve HTML correctly, that's pretty sad. -- Fandyllic  (talk &middot; contr) 1:00 PM PST 19 Jun 2010