开发者

Making html tags selectable in GWT

I'm trying to display an html source ( without interpretation ) and I'd like all the nodes to be selectable (p, div, etc..).开发者_开发技巧 Something like in firebug where if I click on a node I can get it's properties. Does anybody have an idea how to do that or where to start ?


What about codemirror? Something like this:

http://marijn.haverbeke.nl/codemirror/mixedtest.html

You'd have to integrate it into GWT via JSNI, but that wouldn't be to hard. It has hooks to get the cursor position etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜