[geeklog-devel] State of 1.5 development?
Mark R. Evans
mevans at ecsnet.com
Sat Jan 19 22:49:38 EST 2008
From the CVS viewer:
public_html/layout/professional/admin/story/storyeditor_advanced.thtml
<div id="text_editor" style="width:100%; margin-top:10px;
padding-left:10px; border:1px solid #ECE9D8;display:{show_texteditor};">
{lang_introtext}:
<img src="{layout_url}/images/expand.png"
title="{lang_expandhelp}" alt=""
onclick="changeTextAreaSize('introtext','larger');"{xhtml}>
<img src="{layout_url}/images/collapse.png"
title="{lang_reducehelp}" alt=""
onclick="changeTextAreaSize('introtext','smaller');"{xhtml}>
<textarea id="introtext" style="width:100%; padding:5px
10px 5px 10px;" name="introtext" cols="45" rows="14">
{story_introtext}
</textarea>
{lang_bodytext}:
<img src="{layout_url}/images/expand.png"
title="{lang_expandhelp}" alt=""
onclick="changeTextAreaSize('bodytext','larger');"{xhtml}>
<img src="{layout_url}/images/collapse.png"
title="{lang_reducehelp}" alt=""
onclick="changeTextAreaSize('bodytext','smaller');"{xhtml}>
<textarea id="bodytext" style="padding:5px 10px 5px 10px;
width:100%;" name="bodytext" cols="45" rows="14">
{story_bodytext}
</textarea>
</div>
Notice the <textarea id="introtext" ...> then a line break, spaces to
indent it and then the {story_introtext}
If using the HTML editor (not advanced/WYSIWYG), it will embed spaces
before the text each time you edit.
It should be:
<textarea id="introtext" ...>{story_introtext}</textarea>
The same applies to the story_bodytext too.
Thanks!
Mark
Dirk Haun wrote:
> Mark R. Evans wrote:
>
>
>> STORY EDITOR
>> Using HTML Editor (not advanced editor), each time I preview I get a lot
>> of whitespace injected at the beginning and at the end of the text.
>> This is caused by the template, it has the following:
>>
>> <textarea>
>> .....
>> </textarea>
>>
>
> I don't see that. Not in CVS and not in 1.4.1 either. Must be something
> on your end ...
>
> bye, Dirk
>
>
>
More information about the geeklog-devel
mailing list