File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "id" : " obsidian-admonition" ,
33 "name" : " Admonition" ,
4- "version" : " 4.1.2 " ,
4+ "version" : " 4.1.3 " ,
55 "minAppVersion" : " 0.11.0" ,
66 "description" : " Admonition block-styled content for Obsidian.md" ,
77 "author" : " Jeremy Valentine" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " obsidian-admonition" ,
3- "version" : " 4.1.2 " ,
3+ "version" : " 4.1.3 " ,
44 "description" : " Admonition block-styled content for Obsidian.md" ,
55 "main" : " main.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ details.admonition > summary {
8282 cursor : pointer;
8383}
8484
85- details .admonition > summary :: -webkit-details-marker {
86- display : none;
85+ details .admonition > summary {
86+ list-style-type : none;
8787}
8888
8989details .admonition > summary > .collapser {
Original file line number Diff line number Diff line change @@ -349,9 +349,13 @@ export default class ObsidianAdmonition
349349 ) . node [ 0 ]
350350 ) ;
351351 copy . addEventListener ( "click" , ( ) => {
352- navigator . clipboard . writeText ( content ) . then ( ( ) => {
353- new Notice ( "Admonition content copied to clipboard." ) ;
354- } ) ;
352+ navigator . clipboard
353+ . writeText ( content . trim ( ) )
354+ . then ( async ( ) => {
355+ new Notice (
356+ "Admonition content copied to clipboard."
357+ ) ;
358+ } ) ;
355359 } ) ;
356360 }
357361
Original file line number Diff line number Diff line change 66 "3.2.2" : " 0.11.0" ,
77 "3.3.4" : " 0.11.0" ,
88 "4.0.1" : " 0.11.0" ,
9- "4.1.2 " : " 0.11.0"
9+ "4.1.3 " : " 0.11.0"
1010}
You can’t perform that action at this time.
0 commit comments