Thellmann / callimachus

Automatically exported from code.google.com/p/callimachus
Other
0 stars 0 forks source link

Page Editor "insert relationship" inserted at the wrong level #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Editing a view-template, place cursor in an empty paragraph, insert 
relationship.
enter a relationship CURIE

The rel and resource are added to the containing VBox.

<div class="vbox" rel="meetings:hasActionItem" resource="?hasActionItem">
        <h1><a href="?this">{rdfs:label}</a></h1>
                <p>Time: {meetings:time}</p>
                <p>Location: {meetings:location}</p>
        <pre class="wiki">{rdfs:comment}</pre>
</div>

Previously (0.10), a new div was added where the cursor is placed.

<div class="vbox">
        <h1><a href="?this">{rdfs:label}</a></h1>
                <p>Time: {meetings:time}</p>
                <p>Location: {meetings:location}</p>
                <div rel="meetings:hasActionItem" resource="?hasActionItem"/>
        <pre class="wiki">{rdfs:comment}</pre>
</div>

Original issue reported on code.google.com by steven.a...@gmail.com on 27 Jun 2011 at 6:20

GoogleCodeExporter commented 9 years ago
It is possible to add a relatioship by 1) adding an hbox 2) adding a vbox, then 
3) adding the rel
This may be a little long-winded?

Original comment by steven.a...@gmail.com on 27 Jun 2011 at 6:26

GoogleCodeExporter commented 9 years ago
The "insert relationship" has been replaced with "add relationship". The user 
must first add a hbox OR a vbox before adding a relationship to the container. 
This allows the user to use the same toolbar button to edit and remove an 
existing relationship.

Original comment by *...@talis.com on 27 Jun 2011 at 6:33