Skip to content

💡 [REQUEST] - Simplify the current text object hierarchy #44

@FlorianWilhelm

Description

@FlorianWilhelm

Describe your use-case or problem

Currently we have, RichText, Text, Equation and Mention. They all have a specific purpose but behave differently and not like str.

Proposed solution / feature

One could use only RichText and provide constructor methods like text for Text and so on to simplify it. Users would work only with RichText objects in the end which is a subtype of str.

Additional context or examples

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions