-
Notifications
You must be signed in to change notification settings - Fork 233
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
The getter 'estimatedLineHeight' isn't defined for the class 'ProseTextLayout' #710
Comments
@matthew-carroll This getter was added in #616
I think the only is missing is to publish a new version of |
@angelosilvestre please check the original post. A specific commit hash is used in the pubspec, and according to the poster, that's a recent hash and it's causing the given failure. |
The commit hash only applies to super_text_layout: ^0.1.0 This version was published before I think we need to publish a new version of |
Ok. Thanks. I'll do that sometime soon. |
I just released new versions for @hillelcoren please let me know if you're now able to compile and run your project. |
I'm able to build our app now but I've noticed a different problem, when serializing/deserializing markdown it looks like the package isn't correctly handling double line breaks, ie.
Becomes
|
What document structure are you serializing in this example? Are you serializing a single |
Here's the basic usage,
|
Can you try compiling against this PR and see if it fixes the issue? This PR includes some serialization changes: #704 You may need to explicitly depend on that PR for |
I believe the problem is still there. Are you able to try this code, if you also see the problem this could make a good unit test.
|
@hillelcoren - are you sure that was ever working? I've dug into it a little bit, and it looks like the Markdown parsing package, itself, gets rid of empty lines. Here's the code that I believe is running within the markdown parser: https://github.com/dart-lang/markdown/blob/master/lib/src/block_syntaxes/empty_block_syntax.dart#L21 |
I'm pretty sure this used to work correctly, once I upgraded the package it was immediately apparent that this had changed. Our app has an editor window and preview window, making any change now breaks the underlying markdown due to this issue. I've tried to use an older version of the package to test it but haven't been able to get the app to run. |
When trying use the main branch of the code from GitHub we're seeing the following error when trying to build the app:
Note: if I change to the
typing-fade-prototype
branch the error goes away.Thanks for your help, let me know if you need any more details.
The text was updated successfully, but these errors were encountered: