Hi Guys, hope you can help me out here...
I'm rebuilding the forums for our open source software development project, and TinyEditor seems the ideal solution. As it's a Q&A forum for a software develoment system, I need to able to quote previous posts and provide listings - so I changed the paragraph and heading tags in the style menu to 'body text' (standard), 'quote' (blockquote) and 'code' (pre). This all works fine, and if you type the content first, select it and apply the formatting then everything is good with the world. However, if you apply the formatting and then type the text, each time you hit the return key it creates a new block, it keeps the format but the return key closes the tag and re-opens another one. Makes sense for style tags such as headings and paragraphs, but not a lot of use for tags such as <pre>, as every line of code gets its own block...
This should be a pretty simple case of re-mapping the tag closer to insert a break, and then use the style poup to close the tag, but I've not been able to work it out...
Has anyone else done something like this, or have a suggestion as to how to go about it?
Thanks in advance
Danny