Skip to content
Snippets Groups Projects
Commit dd1f17de authored by chris's avatar chris
Browse files

fix selection

parent 03ea9f32
No related branches found
No related tags found
1 merge request!399Oen
......@@ -19,11 +19,8 @@ class CreateDropDown extends Tools {
content,
);
tr.replaceSelectionWith(createGap);
tr.insertText(' ');
const resolvedPos = tr.doc.resolve(
tr.selection.anchor -
1 -
(tr.selection.$anchor.nodeBefore.nodeSize + 1),
tr.selection.anchor - tr.selection.$anchor.nodeBefore.nodeSize,
);
tr.setSelection(new NodeSelection(resolvedPos));
......
.introduction, .outline {
.introduction, .outline, .objectives,
.focus-questions {
border-left: 3px solid #f5f5f7;
padding: 10px 10px 0 10px;
}
.introduction::before,
.outline::before {
.outline::before,
.objectives::before {
border: 3px solid #f5f5f7;
background-color: #f5f5f7;
width: 100%;
......@@ -18,4 +20,8 @@
.outline::before {
content: 'Outline Section';
}
.objectives::before {
content: 'Objectives Section';
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment