[LON-CAPA-users] radiobutton with wysiwyg editor

Gerd Kortemeyer lon-capa-users@mail.lon-capa.org
Thu, 10 Sep 2009 18:17:13 -0400


I am afraid there is no good solution. This is related to


The problem is how to distinguish between intentional and "automagic"  
paragraph tags.

I would recommend to disable the WYSIWYG editor for now.

- Gerd.

On Sep 10, 2009, at 2:53 PM, James Mueller wrote:

> We updated to 2.8.1 in August and a Faculty member just tried to  
> edit a radiobutton problem.  He has a formatting question.
> The original XML for the problem might have something in it like
> <foil location="random" value="true" name="foil1">
> <startouttext />One<endouttext />
> </foil>
> but after doing only an edit and save, it becomes
> <foil location="random" value="true" name="foil1">
> <startouttext /><p>One</p><endouttext />
> </foil>
> So the new editor is inserting these paragraph tags.  So the answer  
> no longer appears net to the radiobutton, but underneath it a little  
> extra vertical space.  He is wondering what can he do to get the old  
> formatting back.  I can edit the xml and remove the <p> tags, but  
> the first time he edits using the editor, it will put them back in.   
> Is there a way he can work around this (without using the xml  
> editor) and get the old formatting back?
> -Jim
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users