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


Reply


4 Posts   909 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, 528 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
banal

Community Member, 901 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 [url=http://personalmoneystore.com/Payday-Loans/]payday loans[/url].