Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SOLVED: shift+enter wysiwyg line break not working in safari


Reply

3 Posts   1465 Views

Avatar
pinkp

14 August 2011 at 1:08am Community Member, 168 Posts

shift+enter in the CMS wysiwyg editor does not produce a </br> line break in Safari. Does anyone know if this can be "fixed" it currently my browser of choice and annoying bug.

It works fine in FF and Chrome but I've gone off using these due to poor performance (anyway different issue). But it could be a problem for my clients using Safari.

Thanks

Avatar
dendeffe

22 November 2011 at 10:30pm Community Member, 135 Posts

You need to add this to mysite/_config:

HtmlEditorConfig::get('cms')->enablePlugins('safari');

Avatar
pinkp

22 November 2011 at 10:43pm Community Member, 168 Posts

Perfect thank you soo much! :)