Enabled default page, changed possible headers in edit component
This commit is contained in:
@@ -8,12 +8,13 @@
|
||||
import ContentComponent from '@/components/ContentComponent.vue';
|
||||
|
||||
export default {
|
||||
name: 'SomePage',
|
||||
name: 'DefaultPage',
|
||||
components: {
|
||||
ContentComponent,
|
||||
},
|
||||
computed: {
|
||||
currentLink() {
|
||||
console.log(this.$route.path);
|
||||
return this.$route.path;
|
||||
},
|
||||
},
|
||||
@@ -8,9 +8,10 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="toolbar">
|
||||
<button @click="toggleHeading(1)">H1</button>
|
||||
<button @click="toggleHeading(2)">H2</button>
|
||||
<button @click="toggleHeading(3)">H3</button>
|
||||
<button @click="toggleHeading(4)">H4</button>
|
||||
<button @click="toggleHeading(5)">H5</button>
|
||||
<button @click="toggleHeading(6)">H6</button>
|
||||
<button @click="toggleBold()" width="24" height="24">
|
||||
<BoldIcon width="24" height="24" />
|
||||
</button>
|
||||
@@ -185,7 +186,7 @@ export default {
|
||||
BulletList,
|
||||
OrderedList,
|
||||
Heading.configure({
|
||||
levels: [1, 2, 3],
|
||||
levels: [3, 4, 5, 6],
|
||||
}),
|
||||
Link.configure({
|
||||
openOnClick: false,
|
||||
|
||||
Reference in New Issue
Block a user