[Xerte-dev] Re: stripping code?

Ron Mitchell ronm at mitchellmedia.co.uk
Thu Mar 26 15:57:09 GMT 2015


Just a quick reply to say that Tom replied via the Trello board.

 

Hi Ron,

I have looked into this, because as far as I am concerned, I don't think we
want to block any code. It seems to be possible to switch the feature off,
which I will try to do tonight.

Tom

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 26 March 2015 15:43
To: 'For Xerte technical developers'
Subject: [Xerte-dev] stripping code?

 

Hi all I added this to the Trello board but thought I should post here too.

 

I know the emphasis is always on ease of use for anyone but I'm a bit
worried about the new editor stripping code and breaking previous projects
and wondering what the options are? 

 

Here's an example: 

Alistair and I have been continuing some previous HEA/TechDis work
delivering webinars and support material using Xerte. I use Font Awesome
quite a lot in various LO's including some we have created for this work.
Here's a direct link to an example and a page containing FA Icons/code:
http://accessiblepractice.org/v/xerte/play_961#resume=3  

There are lots of pages in that LO containing similar FA icons/code and the
trouble is the minute any title or page content is changed using the new
editor those FA icons are stripped out.

 

Here's a test LO:
http://training.mitchellmedia.co.uk/xot/play.php?template_id=48  which
contains the following in both the title and text fields: 

<i class="icon-camera-retro icon-2x"></i> Introduction to photography

 

Playing that works at the moment but if I add any text to the title or text
fields the <i class="icon-camera-retro icon-2x"></i> is removed.

 

This is just a simple example and arguably the benefits of the new editor
far outweigh the ability to use Font Awesome. However ideally it should be
possible and obviously there's other use of code and html etc in lots of
existing projects that currently will also be stripped like this. 

 

Is there any way around this other than not editing those pages/projects in
the new editor?

 

Ron

 
 
 
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 
 
Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
 
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150326/5323cdfa/attachment.html>


More information about the Xerte-dev mailing list