You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how a text line with a simple text embed look side by side. They have the same font and I changed back color to show the difference in alignment and container box.
The code I used to insert the embed is the following:
class TextEmbedBuilder extends EmbedBuilder {
TextEmbedBuilder();
@override
String get key => TextEmbed.tipo;
@override
bool get expanded => false;
@override
Widget build(
BuildContext context,
EmbedContext embedContext,
) {
final textEmbed = TextEmbed.fromNode(embedContext.node.value.data);
return Builder(builder: (context) {
return Text(
'Text in embed',
style: style,
);
}),
})}
Expected results
There should be a way of correctly aligning the embed and the text vertically
Actual results
Wrong vertical alignment, as seen on the image
Additional Context
This issue has been submitted previously, with no response.
I would try to fix it myself, but I would need some orientation on where to look from someone with more experience in this repo, since is has some complex logic going on and there are many files involved.
The text was updated successfully, but these errors were encountered:
pamafe1976
changed the title
Editor fails sizes and aligns incorrectly even the most basic embeds
Editor sizes and aligns incorrectly even the most basic embeds
May 13, 2025
Have you checked for an existing issue?
Flutter Quill Version
11.4.0
Steps to Reproduce
Hi,
This is how a text line with a simple text embed look side by side. They have the same font and I changed back color to show the difference in alignment and container box.
The code I used to insert the embed is the following:
Expected results
There should be a way of correctly aligning the embed and the text vertically
Actual results
Wrong vertical alignment, as seen on the image
Additional Context
This issue has been submitted previously, with no response.
I would try to fix it myself, but I would need some orientation on where to look from someone with more experience in this repo, since is has some complex logic going on and there are many files involved.
The text was updated successfully, but these errors were encountered: