21293 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Why does the editor insert <br /> when you want to style something
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 767 Views |
-
Why does the editor insert <br /> when you want to style something

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 ?
-
Re: Why does the editor insert <br /> when you want to style something

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.
-
Re: Why does the editor insert <br /> when you want to style something

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.
-
Re: Why does the editor insert <br /> when you want to style something

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.
| 767 Views | ||
|
Page:
1
|
Go to Top |



