Hi,
Some of our users are trying to insert inline template in a table cell using EditLive. Each time they do so, the inline template is inserted outside of the table and the table is duplicated. It work fine with images but not with templates.
Is there a solution for that or the EditLive does not permit that kind of use ?
All our snippet template are inside a div tab. Our snippet are working everywhere except when we try to insert it in a table in EditLive. Here is an example of one of our snippet :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>#displayfield("displaytitle")</title>
<meta content="Percussion Rhythmyx" name="generator"/>
<link rel="stylesheet" type="text/css" href="$hecStatic/css/hec-g-1.css" />
</head>
<body>
## ALL SNIPPETS MUST HAVE A ROOT NODE. HERE IT IS AN DIV.
<div class="Sn">
#field("callout")
</div>
</body>
</html>
Here is how we can reproduce the problem we have with inserting a variant in a table cell in Ephox.
Create new brief item. Insert a table. (the ephox default is a 2x2). In first cell, insert a variant. All works well. Looking at the code we get something like:
From what I can see Ephox doesn’t like the parameter “rxinlineslot”. If you remove this from your code it will save OK. I’m not sure why this is happening as I dont know how Rhythmyx processes the contents of the field.
One thing that i noticed was that if you delete the beginning div, then you will be able to insert templates into cells properly (at least this was the work around i told end users to do until we get 6.6 which has a later version of ephox which apparently fixes the issue).
Our TAR#: MA-08-10-0128 with techsupport.
Directions:
So,
save the item,
go to html view,
delete the beginning div
Go to design view
insert inline templates as you want into table cells
Do note that the beginning div (< div class=“rxbodyfield” > ) will be inserted every time you save…