In the dinos demo, I give an extra attribute(data-foo, for example) to the first img in the index.html file of #content,
<div id="content" style="display: none">
<p>
This is your dinosaur-enabled editor. The insert menu allows you to insert
dinosaurs.
</p>
<p>
This paragraph
<img class="dinosaur" dino-type="stegosaurus" data-foo="abc" />xxx, for
example,
<img class="dinosaur" dino-type="triceratops" />
is full <img class="dinosaur" dino-type="tyrannosaurus" /> of dinosaurs.
</p>
<p>Dinosaur nodes can be selected, copied, pasted, dragged, and so on.</p>
</div>
after rendered to the browser, the attribute is lost.
and how can I define the schema to keep the unfixed attributes?