Picture of Stu Pod
Re: HTML tags in authoring tool editor (CKEditor)
by Stu Pod - Monday, 21 May 2018, 7:05 AM
 

Does anybody know whether allowing other tags in CKEditor/AT has changed recently?

It used to work by adding allowedContent:true, to adapt_authoring/frontend/src/adaptbuilder/js/origin.js. The CKEditor config moved to adapt_authoring/frontend/src/modules/scaffold/backboneFormsOverrides.js, and the same addition worked for a while, but now doesn't.

I've tried a lot of different combinations of allowedContent and extraAllowedContent and although some mostly work, all of them seem to strip any heading tags (h1, h2 etc) and type attributes such as <ol type="A>.

Picture of Richard Lilleker
Re: HTML tags in authoring tool editor (CKEditor)
by Richard Lilleker - Tuesday, 7 August 2018, 10:32 AM
 

I'm also having issues with this. Tried using both allowedContent and extraAllowedContent to enable the img tag but not having much luck.

Picture of Stu Pod
Re: HTML tags in authoring tool editor (CKEditor)
by Stu Pod - Thursday, 9 August 2018, 4:59 AM
 

Hi Richard,

I still haven't worked out how to get this working in the recent versions of the AT, so reply here if you do work it out!