[Project_owners] Real time JS editor on extension

joe ertaba belaviyo at gmail.com
Sat Mar 7 06:51:27 PST 2009


Hi

Is it possible to add a CodeMirror JavaScript editor to a Firefox extension?

Here is the link:
http://marijn.haverbeke.nl/codemirror/jstest.html
http://marijn.haverbeke.nl/codemirror/codemirror-0.61.zip

example editor works on a new tab in browser but when I put it in my
extension then it doesnt show the editor

<iframe src="chrome://path to html editor....">

I try to use html namespace too but it doesnt work too,

<html:iframe src="chrome://path to html editor....">

can anybody fix the problem ?

P.S: Is there any better way to add real time JavaScript editor to extension ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20090307/eb278940/attachment.html>


More information about the Project_owners mailing list