Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html model breaks html format #1478

Open
0312birdzhang opened this issue Aug 7, 2024 · 0 comments
Open

Html model breaks html format #1478

0312birdzhang opened this issue Aug 7, 2024 · 0 comments

Comments

@0312birdzhang
Copy link

chrome_3ummwVEWRr.mp4

My test code:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #f5f5f5; /* Grey background */
            font-family: Arial, sans-serif;
        }
        .email-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #ffffff; /* White background */
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body style="margin: 0; padding: 0; background-color: #f5f5f5; font-family: Arial, sans-serif;">
    <div style="width: 100%; max-width: 600px; margin: 0 auto; padding: 20px; background-color: #ffffff; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);">
        <div style="text-align: center; padding: 10px; background-color: #eeeeee; border-bottom: 1px solid #dddddd;">
            <h1>Email Title</h1>
        </div>
        <div style="padding: 20px;">
            <p>Hello,</p>
            <p>This is a sample email content area. You can write your message here.</p>
            <p>Best regards,</p>
            <p>Your Name</p>
        </div>
        <div style="text-align: center; padding: 10px; background-color: #eeeeee; border-top: 1px solid #dddddd;">
            <p>Footer content like contact information or unsubscribe link</p>
        </div>
    </div>
</body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant