n8n/packages/nodes-base/nodes/Html/placeholder.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
634 B
TypeScript
Raw Normal View History

export const placeholder = `
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>My HTML document</title>
</head>
<body>
<div class="container">
<h1>This is an H1 heading</h1>
<h2>This is an H2 heading</h2>
<p>This is a paragraph</p>
</div>
</body>
</html>
<style>
.container {
background-color: #ffffff;
text-align: center;
padding: 16px;
border-radius: 8px;
}
h1 {
color: #ff6d5a;
font-size: 24px;
font-weight: bold;
padding: 8px;
}
h2 {
color: #909399;
font-size: 18px;
font-weight: bold;
padding: 8px;
}
</style>
<script>
console.log("Hello World!");
</script>
`.trim();