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.
20 lines
713 B
Plaintext
20 lines
713 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="sr action-item">No Actions</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">
|
|
<div class="mock-updated-content">Mock Update</div>
|
|
</div>
|
|
</article>
|
|
</li>
|