mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
74e6f5d190
* ✨ Create HTML templating node PoC
* ♻️ Apply feedback
* 🐛 Scope CSS selectors
* ✏️ Adjust description
* ✏️ Adjust placeholder
* ⚡ Replace two custom files with package output
* ➕ Add `codemirror-lang-html-n8n`
* 👕 Appease linter
* 🧪 Skip event bus tests
* ⏪ Revert "Skip event bus tests"
This reverts commit 5702585d0d
.
* ✏️ Update codex
* 🧹 Cleanup
* 🐛 Restore original for `continueOnFail`
* ⚡ Improve `getResolvables`
45 lines
634 B
TypeScript
45 lines
634 B
TypeScript
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();
|