Community Central
Community Central
Forums: Index Community Central Forum Rich editor removing formatting
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 5029 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


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 RandomTime 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 · 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 · contr) 1:00 PM PST 19 Jun 2010
Thanks all for the feedback and advice. I have:
--Boy.pockets 23:36, June 20, 2010 (UTC)
Please post the feedback you get. Thanks for pursuing this. -- Fandyllic (talk · contr) 9:36 PM PST 20 Jun 2010

Feedback

the feedback i got from support;
Thanks for your email. I have relayed your feedback to the product manager who
is responsible for ensuring that the Rich Text Editor works as well as it
possibly can. Inevitably, however, it does not work for every page on wikia, as
you have discovered.

You can disable rich text editing on any page by adding __NOWYSIWYG__ to the
page in source mode.


Thanks again for your feedback, and let me know if I can be of further
assistance.
cheers,

Wendy aka Merrystar
Wikia Community Support
Ask a question at http://forums.wikia.com

--boy.pockets (talkmy boom) 09:13, July 4, 2010 (UTC)

Thanks for posting the feedback. This __NOWYSIWYG__ thing is nice, but may be disconcerting for those people used to only using the RTE. -- Fandyllic (talk · contr) 7:52 AM PST 4 Jul 2010