mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
Add default text to Markdown card editor (#3960)
This commit is contained in:
parent
0cb0525516
commit
d2a95e9f06
@ -26,7 +26,10 @@ export class HuiMarkdownCard extends LitElement implements LovelaceCard {
|
||||
}
|
||||
|
||||
public static getStubConfig(): object {
|
||||
return { content: " " };
|
||||
return {
|
||||
content:
|
||||
"The **Markdown** card allows you to write any text. You can style it **bold**, *italicized*, ~strikethrough~ etc. You can do images, links, and more.\n\nFor more information see the [Markdown Cheatsheet](https://commonmark.org/help).",
|
||||
};
|
||||
}
|
||||
|
||||
@property() private _config?: MarkdownCardConfig;
|
||||
|
Loading…
x
Reference in New Issue
Block a user