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, Ed, biapar, Willr, Ingo, swaiba

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

Go to End

4 Posts   1158 Views


Community Member, 211 Posts

8 October 2009 at 6:35am


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 ?


Community Member, 545 Posts

9 October 2009 at 12:22pm

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.


Community Member, 902 Posts

9 October 2009 at 6:38pm

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


Community Member, 1 Post

9 October 2009 at 8:50pm

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 payday loans.