provide more context to inplace edit in styleguide

pull/2724/head
Jens Ulferts 10 years ago
parent 81691ddbb5
commit a09a951cdd
  1. 37
      app/assets/stylesheets/content/_in_place_editing.md

@ -3,18 +3,26 @@
# In place editing: Multiple lines of text
```
<div class="attributes-group">
<div class="inplace-editor type-wiki_textarea attribute-description editable">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
<h3 class="attributes-group--header-text">
Description
</h3>
</div>
</div>
<div class="inplace-editor type-wiki_textarea attribute-description editable">
<div class="ined-read-value editable">
<span class="read-value-wrapper">
<span>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer
</span>
</span>
<span class="editing-link-wrapper ng-scope">
@ -35,6 +43,7 @@ Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming
</accessible-by-keyboard>
</span>
</div>
</div>
</div>
```
@ -43,7 +52,21 @@ Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming
# In place editing: Single line of text
```
<div class="inplace-editor type-select2 attribute-status.name editable">
<div class="attributes-group">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
<h3 class="attributes-group--header-text">
Details
</h3>
</div>
</div>
<dl class="attributes-key-value">
<dt class="attributes-key-value--key">
Status
</dt>
<dd class="attributes-key-value--value-container">
<div class="attributes-key-value--value -status">
<div class="inplace-editor type-select2 attribute-status.name editable">
<div class="ined-read-value editable" >
<span class="read-value-wrapper">
<span ng-bind="readValue">
@ -67,5 +90,9 @@ Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming
</accessible-by-keyboard>
</span>
</div>
</div>
</div>
</dd>
</dl>
</div>
```

Loading…
Cancel
Save