to remove font tag #2150

Open
bpetar opened this Issue Dec 1, 2016 · 3 comments

Projects

None yet

3 participants

@bpetar
bpetar commented Dec 1, 2016

when i chose text color, summer note generates html with font tag. I hit the issue right on start with font tag not being shown in chrome and firefox in a basic laravel 5.3 project. the font tag is visible in the page source but not visible on the page. everyone will say 'dont use font tag - its deprecated' so I wanted to raise an issue here to remove font tag in code generated by summernote future versions.

@StudioJunkyard

In a situation, where font styles, and even classes are chosen by the designer I disable the font selection, otherwise site content editors always (in my case anyway) choose fonts that break the design, which are better done through css anyway.

@bpetar
bpetar commented Dec 1, 2016

didnt really understood your reply

@apocalyarts
apocalyarts commented Dec 5, 2016 edited

+1

Chrome and other browsers now default to HTML5, which is why <font> is not supported anymore.
So Summernote features like the color picker should change to <span style="color:#121212;">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment