@@ -5,6 +5,7 @@ export const blockProps = {
55 blockOverrides : { type : Object , default : ( ) => ( { } ) } ,
66 contentId : { type : String , required : false } ,
77 contentIndex : { type : Number , default : 0 } ,
8+ decoratorOverrides : { type : Object , default : ( ) => ( { } ) } ,
89 embedAllow : { type : String , default : "fullscreen" } ,
910 fullPage : { type : Boolean , default : false } ,
1011 hideList : { type : Array , default : ( ) => [ ] } ,
@@ -17,7 +18,7 @@ export const blockProps = {
1718 pageLinkTarget : { type : String , default : "_self" } ,
1819 prism : { type : Boolean , default : false } ,
1920 textLinkTarget : { type : String , default : "_blank" } ,
20- todo : { type : Boolean , default : false }
21+ todo : { type : Boolean , default : false } ,
2122} ;
2223
2324export const blockComputed = {
@@ -28,6 +29,7 @@ export const blockComputed = {
2829 blockOverrides : this . blockOverrides ,
2930 contentId : this . contentId ,
3031 contentIndex : this . contentIndex ,
32+ decoratorOverrides : this . decoratorOverrides ,
3133 embedAllow : this . embedAllow ,
3234 fullPage : this . fullPage ,
3335 hideList : this . hideList ,
@@ -38,7 +40,7 @@ export const blockComputed = {
3840 mapPageUrl : this . mapPageUrl ,
3941 pageLinkOptions : this . pageLinkOptions ,
4042 prism : this . prism ,
41- todo : this . todo
43+ todo : this . todo ,
4244 } ;
4345 } ,
4446 alt ( ) {
@@ -63,7 +65,7 @@ export const blockComputed = {
6365 block_color : this . format ?. block_color ,
6466 bookmark_icon : this . format ?. bookmark_icon ,
6567 bookmark_cover : this . format ?. bookmark_cover ,
66- display_source : this . format ?. display_source
68+ display_source : this . format ?. display_source ,
6769 } ;
6870 } ,
6971 icon ( ) {
@@ -98,7 +100,7 @@ export const blockComputed = {
98100 } ,
99101 parent ( ) {
100102 return this . blockMap [ this . value ?. parent_id ] ;
101- }
103+ } ,
102104} ;
103105
104106export const Blockable = {
@@ -119,8 +121,8 @@ export const Blockable = {
119121 } ,
120122 pageLinkProps ( id ) {
121123 return {
122- [ this . pageLinkOptions ?. href || "href" ] : this . mapPageUrl ( id )
124+ [ this . pageLinkOptions ?. href || "href" ] : this . mapPageUrl ( id ) ,
123125 } ;
124- }
125- }
126+ } ,
127+ } ,
126128} ;
0 commit comments