[tw5] Re: Change layout (RTL/LTR) when editing tiddler

2023-04-22 Thread Jeremy Ruston
Thanks Amit, Mohammad, I've created a PR with this change, please let me know how it works for you, https://github.com/Jermolene/TiddlyWiki5/pull/7409 Best wishes Jeremy On Saturday, April 22, 2023 at 5:36:12 AM UTC+1 Mohammad wrote: > To be seen correctly in Talk. The original post is

[tw5] Re: Change layout (RTL/LTR) when editing tiddler

2023-04-21 Thread Mohammad
To be seen correctly in Talk. The original post is re-formatted. found a possible solution, I've modified the `copyStyles` function in `$:/core/modules/editor/engines/framed.js` by adding `removeProperty('direction')`, it is no longer forces the direction to `ltr` ```

[tw5] Re: Change layout (RTL/LTR) when editing tiddler

2023-04-21 Thread Amit Shady
found a possible solution, I've modified the copyStyles function in$:/ core/modules/editor/engines/framed.js by adding removeProperty('direction'), it is no longer forces the direction to 'ltr' FramedEngine.prototype.copyStyles = function() { // Copy all styles