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