Posting code is not a good experience
|Reported by:||jaredatch||Owned by:|
|Component:||General - Content Creation||Keywords:|
Things are a bit weird on bbPress.org at the moment when it comes to posting code. Few things/comments to note.
The first thing is it seems any <pre> tags get stripped. So posting blocks of code, even using <code>, is weird because paragraphs get entered and it just looks off. Thats definitely an issue.
Secondly, the styling on code blocks (pre). I can't see what it looks like because its getting stripped, but we need to do some sort of nice styling for blocks off code. I'm going to post an image of a clean example.
I know Alex had a patch he was going to roll into SyntaxHighlighter that made it work with bbPress. Something like that would be nice as well.
Right now posting large chunks of code is not easy and can only be done using text mode. Should we maybe ad a "code" button to TinyMCE? How can we make this easier and more elegant?
Lastly, on bbPress.org we can't get to the profile edit screen that's in wp-admin (which is by design), however there is no way then for me to disable the TinyMCE editor. I post code in a lot of posts, so I'd just prefer to have an option to disable the fancy editor so I'm not having to toggle modes all the time.
Change History (26)
- Component changed from Front-end to Content Creation
- Milestone changed from bbPress.org to 2.3
- Version set to trunk
- Cc e.soghe@… added
- Priority changed from normal to high
- Resolution fixed deleted
- Status changed from closed to reopened
- Type changed from enhancement to defect
- Milestone changed from Future Release to 2.4
- Resolution set to fixed
- Status changed from reopened to closed
- Version changed from trunk to 2.2