html editor and indents

html editor and indents

by Greg Rodenhiser -
Number of replies: 4
We have Moodle 1.9+ (linux, PHP 5.2.5). For some reason the WYSIWYG editor does not handle the indent button. While editting a forum or wiki post the indent show, however once you post the formatting is gone. Anyone else see this bug? We've tried it on Firefox 2 on Win/Mac/Linux and IE 7 on Win.
Average of ratings:Useful (1)
In reply to Greg Rodenhiser

Re: html editor and indents

by John Isner -
Yes, I experience this posting to moodle.org. The following line is supposed to be indented:

indented

Before posting, the HTML source is

<div> <div style="margin-left: 40px;">indented<br /></div><br />

When I post the indentation is gone. When I re-edit the post, the style has been discarded:

After it is: <br /><div>indented<br /><br />

I think this is the same bug as MDL-13886, which I reported in March and was marked closed. I'll add a comment to the bug report.
Average of ratings:Useful (1)
In reply to John Isner

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Greg Rodenhiser

Re: html editor and indents

by Sam Mudle -
Yeah,

My 1.9.4 site is having the same problems. The ident button works fine, but once I post, all indents are removed.

It started doing this about three weeks after I first install the site.

Really really annoying.