This commit implements STUD-1490, allowing creation of components on the container page. It also enables the delete and duplicate buttons now that new content can be created that would benefit. Note that it also creates shared functionality for adding components, and refactors the unit page to use it too.
22 lines
788 B
Plaintext
22 lines
788 B
Plaintext
<li class="studio-xblock-wrapper is-draggable">
|
|
<header class="xblock-header">
|
|
<div class="header-details">
|
|
<span>Mock XBlock</span>
|
|
</div>
|
|
<div class="header-actions">
|
|
<ul class="actions-list">
|
|
<li class="action-item action-drag">
|
|
<span data-tooltip="Drag to reorder" class="drag-handle action"></span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
<article class="xblock-render">
|
|
<div class="xblock xblock-student_view xmodule_display xmodule_VerticalModule"
|
|
data-runtime-class="PreviewRuntime" data-init="XBlockToXModuleShim" data-runtime-version="1"
|
|
data-type="None">
|
|
<p>Mock XBlock</p>
|
|
</div>
|
|
</article>
|
|
</li>
|