karolsojko
karolsojko

Reputation: 721

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 ?

Upvotes: 0

Views: 143

Answers (1)

Kong
Kong

Reputation: 9606

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.

Upvotes: 1

Related Questions