Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-01-21 05:34:55

artis
New member
Registered: 2010-01-21
Posts: 1

insert text into editor

hi,

I'm currently making specific  plugin, based on "InsertSnippet" where my plugin inserts some text into editor.

My plugin does not work correctly on Chrom. Usually plugin inserts text like this  - <div class="object"><%object=banner&group=test%></div>
So, the problem is that Chrom ignores <%...%> tag, it inserts only <div class="object"></div> .

Could anybody say what could cause such a  problem?


code to insert text from plugin's js file:

_9.insertHTML(_c["text"]);

Offline

#2 2010-01-23 03:41:31

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: insert text into editor

<% is not an valiud html or XHTML, or even XML tag.  There is no such thing as <%, it's totally invalid.  So it's not surprising that it does not work.


James Sleeman

Offline

Board footer

Powered by FluxBB