Skip to content

Fix unnecessary new line in Alert snippet #4776

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

Open
wants to merge 2 commits into
base: master-mysterious-egg-next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/html_builder/static/src/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class Builder extends Component {
"SeparatorPlugin",
"StarPlugin",
"BannerPlugin",
"MoveNodePlugin",
]
);
const corePlugins = this.props.isTranslation ? [] : CORE_PLUGINS;
Expand Down
4 changes: 2 additions & 2 deletions addons/website/views/snippets/s_alert.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<odoo>

<template id="s_alert" name="Alert">
<div class="s_alert s_alert_md alert alert-info w-100 clearfix" role="alert" data-vcss="001">
<div class="s_alert s_alert_md alert alert-info w-100 clearfix o-contenteditable-false" role="alert" data-vcss="001">
<i class="fa fa-lg fa-info-circle fa-stack d-flex align-items-center justify-content-center me-3 p-2 rounded-1 s_alert_icon"/>
<div class="s_alert_content">
<div class="s_alert_content o-contenteditable-true">
<p>Explain the benefits you offer. <br/>Don't write about products or services here, write about solutions.</p>
</div>
</div>
Expand Down