File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,8 @@ import './block-ui.js';
32
32
33
33
@customElement ( 'md-block' )
34
34
export class MarkdownBlock extends LitElement implements SigpropHost {
35
- @property ( { type : String , reflect : true } ) accessor checked :
36
- | 'true'
37
- | 'false'
38
- | undefined ;
39
35
@property ( { type : Boolean , reflect : true } ) accessor root : boolean | undefined ;
40
36
@property ( { type : String , reflect : true } ) accessor type = '' ;
41
- @property ( { type : String , reflect : true } ) accessor marker : string | undefined ;
42
37
@consume ( { context : hostContext , subscribe : true } )
43
38
@property ( { attribute : false } )
44
39
accessor hostContext : HostContext | undefined ;
Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ export class MarkdownInline extends LitElement implements SigpropHost {
66
66
this . addEventListener ( 'beforeinput' , this . onBeforeInput , { capture : true } ) ;
67
67
this . addEventListener ( 'keydown' , this . onKeyDown , { capture : true } ) ;
68
68
this . addEventListener ( 'pointerdown' , this . onPointerDown ) ;
69
+ this . setAttribute ( 'contenteditable' , '' ) ;
69
70
}
70
71
@consume ( { context : hostContext , subscribe : true } )
71
72
@property ( { attribute : false } )
72
73
accessor hostContext : HostContext | undefined ;
73
- @property ( { type : Boolean , reflect : true } ) accessor contenteditable = true ;
74
74
@property ( { type : Boolean , reflect : true } ) accessor selected :
75
75
| boolean
76
76
| undefined ;
You can’t perform that action at this time.
0 commit comments