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
When using the TabIndentationPlugin plugin, custom indent size from the theme css not respected when rendering back the editor content from storage (DB for example) to the editor. It is only respected during the time the content is being typed into the editor.
For example, the default indent is 40px. Tried to override it to 20px;
When using the
TabIndentationPlugin
plugin, custom indent size from the theme css not respected when rendering back the editor content from storage (DB for example) to the editor. It is only respected during the time the content is being typed into the editor.For example, the default indent is 40px. Tried to override it to 20px;
Lexical version: 0.11.1
Steps To Reproduce
TabIndentationPlugin
plugin with 20px indention override on theme cssLink to code example:
CodeSandbox: https://codesandbox.io/s/magical-david-o3y42f?file=/src/Editor.js
Demo repo: https://github.com/lysender/lexical-text-indent
The current behavior
The rendered content still has 40px indention
The expected behavior
Should have 20px indention
The text was updated successfully, but these errors were encountered: