|
The CheckBox saying "Ignore HTML in text (good for code snippets)" below the editor was checked. So it ignored the HTML. I just unchecked the CheckBox and it's all fine now.
..Go Green..
|
|
|
|
|
But that flag should be taken from my settings; when you edit the message it should be from yours. As you say, it is OK now, so I will need to take a more careful look next time. Thanks.
It's time for a new signature.
|
|
|
|
|
Richard MacCutchan wrote: But that flag should be taken from my settings;
Correct. Few days back, I was having similar problems. The CheckBox was unchecked by default and I had some content filter saved automatically. But that was there for few hours and so I didn't report a bug here.
Edit: Just noticied, there are posts above talking similar things.
Richard MacCutchan wrote: when you edit the message it should be from yours.
No, it is not like that. When you edit a post, the settings are taken from what the last user saved. At least in this case, this is what I have noticed every time.
..Go Green..
|
|
|
|
|
I think I need to look at all the settings on the page quite carefully before I try any more edits.
It's time for a new signature.
|
|
|
|
|
I was improving the formatting of this[^] answer.
It contains a script tag with alert box. So for every preview change I was getting an alert.
I know it is expected behavior but it is not required and is annoying.
Can we have this fixed?
..Go Green..
|
|
|
|
|
Which browser?
I've just been trying to replicate and I can't. All script is (meant to be) stripped out or HTML encoded.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Okay, I tried it again and didn't get it. I compared the last version to check what was it that caused this issue?
And the following test could replicate it.
I removed the PRE tags and selected the code-snippet and clicked 'code block'. All fine.
Now I tried adding language to the PRE tag. I started writing lang="j and the alert box popped up.
I think, if you roll it over to the last version and try editing for formatting, you could see the behavior again.
This is a very rare case, but I hope you will look into the issue and show us a solution.
..Go Green..
|
|
|
|
|
Well done. I've added a bug entry.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
Thanks.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I think it might be useful to be able to be able to promote a comment to an answer (say the comment actually answers the question). Conversely it might be a good idea to demote a question to a comment (e.g. when the OP posts an Answer to their own question in reponse to an answer)
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
Based on earlier discussions here, 'Answer conversion to a Comment' is already on TO-DO list and pretty high.
|
|
|
|
|
I really should've checked that thing.....
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
Correct.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Here you go; yet another spammer. Clickety[^]
|
|
|
|
|
Thank you, sir.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The text area to provide comments for the vote shows hovering mouse over radio buttons. I think it should come up once the member has selected any radio button. BTW I am using FF 3.6.8.
|
|
|
|
|
We used to have this but we stopped because if members didn't have javascript enabled they couldn't vote, and/or the layout was screwed (depending on which path we chose).
Our current method relies on CSS, not javascript, to show the comment box so it works either way.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
You can use both CSS and JavaScript, that way those with JavaScript get the best behavior and those with CSS still get functioning behavior. Applying styles directly to the elements using JavaScript will override the CSS (or you could change a class using the JavaScript, which would have the same effect).
|
|
|
|
|
Yes you can.
What logic flow would you suggest? We've tried a few and I'm open to suggestions.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Have some CSS classes that popup the textbox when the user mouses over certain elements... you'd use a hover pseudo class for that (I'm guessing you do this now). Set the classes on the HTML elements so this CSS gets used.
When the page loads, have some JavaScript to remove those classes (so they will not be used by those who have JavaScript enabled). When a radio button is selected, add a class (using JavaScript) that displays the textbox.
When "Vote" is clicked, hide the textbox, change the vote average, reset the radio buttons, and show the "Reason for my vote of x" comment. If JavaScript is enabled, this can be done using AJAX. If there is no JavaScript, this can be done with a postback (I imagine you do this now).
|
|
|
|
|
What a good idea
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
This user[^] has 20 answers in the Q&A section and he links to the same site in all of them. Maybe he's advertising, maybe I'm wrong.
The bearing of a child takes nine months, no matter
how many women are assigned.
|
|
|
|
|
Yeah that's some fairly obvious and blatant advertising. The user needs to be banned.
|
|
|
|
|
Thank you
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|