Page 1 of 1

Some feature Modifications

Posted: Tue Sep 18, 2007 6:43 am
by Crud O Matic
Hello,

    I have a few ideas for feature modification (strictly in the content text editor):

1. Instead of closing a P tag and opening a new P tag every time you press enter, just insert a BR tag. If the user presses enter twice (inserting a blank line) then you should take out the BR tag, and then close the P/open a new P. Having P blocks every time a user presses enter might not be the look they are after - and it is annoying. Not to mention asking someone who doesn't know XHTML to edit it is a lost cause (gotta love clients!).

2. I've noticed that while in a DIV tag, P blocks AREN'T created. It would be nice to wrap paragraphs inside of a DIV... of course with the same adjustments as above.

3. Allow for insertion of NON-text XHTML items (like SPAN, DIV, HR, H1-H5, ect...) on the button toolbar. Of course close any open P tags when a block-level element is inserted (like DIV, HR, ect...). Once again, asking NON-XHTML knowlegable people to edit it is a lost cause.

4. I'm not sure if I'm doing something wrong here, but for some reason the styles dropdown isn't displaying any styles I have linked to the template...

5. This is just a suggestion, maybe when a user wants bold text, B tags should be used. Likewise, italic text should use I.

6. Maybe have a tool button for inserting tab characters?

Hope you will take this into consideration,
Crud

Re: Some feature Modifications

Posted: Tue Sep 18, 2007 8:36 am
by alby
Crud O Matic wrote: 1. Instead of closing a P tag and opening a new P tag every time you press enter, just insert a BR tag. If the user presses enter twice (inserting a blank line) then you should take out the BR tag, and then close the P/open a new P. Having P blocks every time a user presses enter might not be the look they are after - and it is annoying. Not to mention asking someone who doesn't know XHTML to edit it is a lost cause (gotta love clients!).
In TinyMCE setting you can choice style for ENTER key: p or br
with p style you have a normal editor (Word for example) ENTER is a paragraph (p) and SHIFT+ENTER a new line (br)

Crud O Matic wrote: 2. Allow for insertion of NON-text XHTML items (like SPAN, DIV, HR, H1-H5, ect...) on the button toolbar. Of course close any open P tags when a block-level element is inserted (like DIV, HR, ect...). Once again, asking NON-XHTML knowlegable people to edit it is a lost cause.
NON-text XHTML items (like SPAN, DIV, HR, H1-H5, ect...) ???
DIV, H1-H6 and other are in Format combo
for SPAN I use personalized style in Style combo
for HR insert in toolbar: ,hr

Crud O Matic wrote: 3. I'm not sure if I'm doing something wrong here, but for some reason the styles dropdown isn't displaying any styles I have linked to the template...
Check if your style are screen type only and search in forum

Crud O Matic wrote: 4. This is just a suggestion, maybe when a user wants bold text, B tags should be used. Likewise, italic text should use I.
From Wikipedia:
The use of presentational markup is discouraged. The equivalent CSS should be used instead. Deprecated elements are only valid in the Transitional and Frameset variants of HTML 4.01 and XHTML1.0. They are invalid in the Strict variants of HTML 4.01, XHTML1.0 and XHTML 1.1. … and … are invalid in the current draft of XHTML2.0

Crud O Matic wrote: 5. Maybe have a tool button for inserting tab characters?
Use outdent and indent

Alby