File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div >
3- <!-- TODO Label not working -->
4- <span class =" text-subtitle-1" >{{ node.layout.label }}</span >
3+ <span v-if =" title" class =" text-subtitle-1" >{{ title }}</span >
54 <Editor
65 v-if =" content !== null "
76 v-model =" content "
1413
1514export default {
1615 props: {
16+ title: {
17+ type: String ,
18+ default: null ,
19+ },
1720 node: {
1821 type: Object ,
1922 required: true ,
Original file line number Diff line number Diff line change 109109 @submit =" addPacket "
110110 >
111111 <template #custom-editor =" context " >
112- <EditorForForm v-bind =" context " />
112+ <EditorForForm
113+ v-bind =" context "
114+ :title =" $t (' description' )"
115+ />
113116 </template >
114117 <template #custom-image =" context " >
115118 <ImageUpload
127130 @submit =" editPacket "
128131 >
129132 <template #custom-editor =" context " >
130- <EditorForForm v-bind =" context " />
133+ <EditorForForm
134+ v-bind =" context "
135+ :title =" $t (' description' )"
136+ />
131137 </template >
132138 <template #custom-image =" context " >
133139 <ImageUpload
Original file line number Diff line number Diff line change 2323 @submit =" saveData "
2424 >
2525 <template #custom-editor =" context " >
26- <EditorForForm v-bind =" context " />
26+ <EditorForForm v-bind =" context " : title = " $t ( ' news ' ) " />
2727 </template >
2828 <template #custom-logo =" context " >
2929 <ImageUpload
You can’t perform that action at this time.
0 commit comments