fix: rich text wrap width calculation issue#1394
Conversation
📝 WalkthroughWalkthroughThe pull request refactors the rich-text component's rendering initialization and simplifies the wrap strategy API. The protected Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Refactor
Deprecation
RichTextLayout.setSize()is now deprecated; usemaxTextWidthandmaxTextHeightinstead for setting layout dimensions.