alignment disappear in HTML editor after saving the page

alignment disappear in HTML editor after saving the page

by Ravi Vare -
Number of replies: 4
Hi,

I am using Moodle1.9.10.

#1)Specifically in Lesson activity and Cloze type Question.

ALIGNMENT is very essential.
Alignment given by SPACE bar disappear after saving the respective page.

Only Left, Right, Center alignment take effect.

Pl. what to do for this?

#2)Changing the FONTS, doesn't take effect immediately Sometimes.

TIA,


Ravi

Is TinyMCE perfect option for HTML? OR is there any other option?
Just give me Clue
Average of ratings: -
In reply to Ravi Vare

Re: alignment disappear in HTML editor after saving the page

by Mauno Korpelainen -

Moodle 1.9.10 is using default editor called HTMLArea which changes multiple "normal spaces" to one normal space.

In moodle 2 default editor is TinyMCE which does exactly the same but it has also a button for inserting non-breaking spaces

Nonbreak

In moodle 1.9 you can press <> in editor toolbar and try to add multiple html entities like

&nbsp; (No-Break Space)

or maybe even

&ensp; (En Space Nut)
&emsp; (Em Space Mutton)
&thinsp; (Thin Space)

Try first something like &nbsp;&nbsp;&nbsp;&nbsp;Test

Moodle 2 may cut these...

How did you change fonts - with editor drop down menu or ... ?

Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: alignment disappear in HTML editor after saving the page

by Mauno Korpelainen -

Moodle 1.9.X seem to have sometimes problems with html entities as well - I just tested this and non-breaking space html entities were saved if editor was in html mode (after pressing <> in HTMLArea toolbar ) but they were removed once the field was re-edited and saved... mixed

Have you tried to use Increase indent and Decrease indent buttons instead of spaces?

Indent

Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: alignment disappear in HTML editor after saving the page

by Ravi Vare -
Hei Mauno and Shweta,

Sorry for delay, I was out of station.

I am trying above trick.

But For changing FONTS, i am using 'Drop Down Menu'.

Thanks for response.

Ravi
In reply to Ravi Vare

Re: alignment disappear in HTML editor after saving the page

by Mauno Korpelainen -

The Font issue might be caused by missing selection - or the way how you select content before using Font drop down menu to assign the font family.

Testing with moodle 2

Testing with moodle 2

Testing with moodle 2

Testing with moodle 2

Testing with moodle 2

Average of ratings: Useful (1)