Span tag in Edit Live Code

Hi,
I have a requirement to add this <span class=“vertical-bar”></span> tag in the code of Edit Live field. But when i add and update, the tag is not being added. I have “vertical-bar” css defined in one of my css files.

Isn’t this behavior possible?

Paddy,

Can you share the HTML code that you’re trying to input into Edit Live? I recommend using a sharing service such as jsbin.com, gist.github.com, or any other service because trying to use the forum with HTML code can result in frustration.

Let’s see whether this works…

<span class="vertical-bar"></span>

Paddy,

You can try this code @ https://gist.github.com/18f2d1d66453f49284ac. This example has a div tag surrounding your span tag; however, it will be stripped out upon template preview.

Yep, It worked ! Thanks Rileyw.

Paddy

Rileyw,
I am trying to add this style tag to Edit live field for one content item. It didn’t work, even with div tag embedded


<style>
table td{
border:1px solid #ccc;
}
table{
border:1px solid #ccc;
}
</style>

Can’t we add Style tags in Edit live field?

Paddy