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

Why does the editor insert <br /> when you want to style something


4 Posts   903 Views


8 October 2009 at 6:35am Community Member, 211 Posts


Me again ;)

The editor is doing something weird if I use the editor droppdown menu to style something it adds weird thing like

<h5>my tiltle<br /></h5>

Any idea ?


9 October 2009 at 12:22pm Community Member, 528 Posts

I find the editor a little funny on how it generates HTML. If you selected a line of copy that already exists in the editor and style it with the drop down I can see it including existing line breaks in the selection. I usually find I have to clean up the HTML of any content in the editor box, especially when cutting pasting from Word. The editor tries to maintain some of the styling.


9 October 2009 at 6:38pm Community Member, 901 Posts

You shouldn't copy/paste directly from word. Use the "Paste from Word" or "Paste as plain-text" buttons.


9 October 2009 at 8:50pm Community Member, 1 Post

Create personalised, annotated, customised maps using Google Maps.
Your maps can contain the following:
* Placemarks
* Lines
* Shapes
Once you have created a map, you can:
* Add descriptive text, including rich text and HTML
* Embed photos and videos in your map
* Share your maps with others
You can do this without using any [url=]payday loans[/url].