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
However, the current interface lacks a method for removing attributes from elements. As a workaround, users resort to setting attributes to false values like null or undefined. This approach can lead to confusion, especially in projects where multiple versions are maintained using Yorkie.
To address this issue, we could introduce a dedicated interface for removing attributes. This would enhance clarity and user experience across different implementations.
root.t.removeStyle(0,1,'italic');
Why is this needed:
The text was updated successfully, but these errors were encountered:
What would you like to be added:
Add a feature to Tree that allows the removal of attributes from elements
Our objective in developing Tree is to create a data structure capable of representing tree-based models for WYSIWYG Editors.
Currently, users can modify attributes of elements using
Tree.style
:However, the current interface lacks a method for removing attributes from elements. As a workaround, users resort to setting attributes to false values like null or undefined. This approach can lead to confusion, especially in projects where multiple versions are maintained using Yorkie.
To address this issue, we could introduce a dedicated interface for removing attributes. This would enhance clarity and user experience across different implementations.
Why is this needed:
The text was updated successfully, but these errors were encountered: