BUG:
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome
Reproducible demo link
Describe the bug
How to reproduce the bug?
- Insert <a> tag with link inside the table cell(td).
- give float left or right to the table cell(td).
What is the expected behavior? After adding float right/left to the table cell, The alignment only should change
**What is the current behavior?**
Table cell changed into table row/ table body
If is necessary to execute some code in order to reproduce the bug, paste it here below:


<body id="ix7d" style="box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;">
<table id="igcg" style="box-sizing: border-box; height: 150px; margin: 0 auto 10px auto; padding: 5px 5px 5px 5px; width: 100%;" width="100%" height="150">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<td class="mobileResponsive" id="i72zy" style="box-sizing: border-box; padding: 0; margin: 0; vertical-align: top; float: right;" valign="top">
<a href="#" alt="link" target="_blank" id="isvz" style="box-sizing: border-box; display: inline-block; font-size: 13px; background-color: rgb(65, 65, 65); color: #fff; text-align: center; text-decoration: none; padding: 10px 25px 10px 25px; border-radius: 3px; line-height: 120%;">Click Me!</a>
</td>
</tr>
</tbody>
</table>
</body>
### Code of Conduct
- [X] I agree to follow this project's Code of ConductAnswers (1)
Provide valid reproducible demo
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5914
BUG: SVG containing mask and image doesn't render correctly
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Microsoft Edge 125.0.2535.51 Reproducible...
Issue #5037
FEATURE: How to drag external text into particular index inside the textable component?
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link NA Describe...
Issue #5006
aphostrope problem in grapejs - 's not showing while displaying from html string
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v91 Reproducible demo link https://...
Issue #4371
BUG: All editors broken after last update that broke storage manager.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://www....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.