angular-froala-wysiwyg
angular-froala-wysiwyg copied to clipboard
useClasses false with custom inline table styles - border not injected
I am using useClasses along with tableStyles and tableCellStyles however my inline styles are not getting injected for the border.
My custom class will get other attributes injected e.g 'background-color' but the 'border' is always set to be:
border: 1px solid rgb(221, 221, 221);
Why is the border style not getting injected and uses a default?
Initially I thought this may be an issue with froala-editor, hence I closed it. But I was able to setup a jsfiddle with the base editor and the style is getting injected correctly.
- https://jsfiddle.net/lukehartcher/wzk23qmv/5/
- Add a table with 1 cell (1 row, 1 col)
- Change the cell style to "No Border"
- View the console and you can see the correct styles.
I have tried to setup a StackBlitz showing the error with angular-froala-wysiwyg but I get varying errors when trying to use the latest versions. Will keep trying...
@LukeHartcher - did you ever resolve this - I have the exact same problem but not in Angular - I'm using Durandal/Knockout
@LukeHartcher - did you ever resolve this - I have the exact same problem but not in Angular - I'm using Durandal/Knockout
No, I had to hack up some code on html export to look for a particular tag and then modify the exported html accordingly. Not pretty but it works.
I'm facing the same problem. Did you manage to solve it?