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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1864 Views

Avatar
servalman

Community Member, 211 Posts

8 October 2009 at 6:35am

Hi

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 ?

Avatar
zenmonkey

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.

Avatar
bummzack

Community Member, 904 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.

Avatar
MireyaI

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.