|
OK.
I understand about the reporting, expecially given what happened to me[^] a few days ago...
... so I definitely don't want to create anything that aids such behaviour.
|
|
|
|
|
IF you really want to write html code. then i would recommend using a simple ascii text editor such as notepad and type your own html tags. You really don't need a fancy editor.
|
|
|
|
|
You're preaching to the converted.
However, many, many authors love WYSIWYG editors. Even I, occasionally, like seeing what I'm editing all neatly formatted occasionally too.
cheers
Chris Maunder
|
|
|
|
|
when using specialized HTML editors such as FrontPage the software will put it's own HTML tags. and that is the same for all HTML editors. If the programmer wants total control then use notepad and they can always open the HTML doc on a HTML viewer such as Firefox.
|
|
|
|
|
Daniel Engelkes wrote: FrontPage the software will put it's own HTML tags. and that is the same for all HTML editors
Not in my experience. I'm actually using FrontPage 2003 (Yes - FrontPage classic!) because it's so clean with it's HTML handling. Our HTMLArea based WYSIWYG editor doesn't often add tags. Obviously adding a paragraph or image will result in new tags being added, but they aren't unexpected tags.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: CKEditor seems the best so far - except that it refuses to do what I want it to and insists on mangling the HTML it's given. There is no "don't screw with my HTML" option.
Try adding <code>This is some code</code> inside a TD element in the editor. It strips it out.
Have you tried setting config.allowedContent = true; ? That way, it shouldn't strip anything out. I've just tried with v4, and it doesn't strip out a <code> block within a <td> element.
Also, no programming questions in the Lounge!
Also also: http://xkcd.com/1341/[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
A programming question would be "How do I do X". That would be unacceptable. However, "I can't do X because the stupid $#@! that was obviously written by blind monkeys on acid and never works no matter what I do even though I've not once looked at the manual or looked into the source code because I have better things to do, like blog about how crap X is" is considered on-topic and appropriate.
cheers
Chris Maunder
|
|
|
|
|
But Shirley that's a loophole? Instead of asking "How do I do X?", you just post a rant about how stupid it is that it's impossible to do X, and wait for people to prove you wrong by explaining how to do X in simple terms.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Stop calling me Shirley.
cheers
Chris Maunder
|
|
|
|
|
I've actually found that FCKeditor (the version before CKeditor) works better... there again, it might not like newer browsers -- but in any event, it doesn't muck things up quite as much. I know what you mean, though...
|
|
|
|
|
I am slammed for the next couple of months but, after that, I am all yours.
|
|
|
|
|
This should be fun
Lets do this!
|
|
|
|
|
Very funny.
Dose the WYSIWYG editor hourglass diaper on 1/04/2014?
|
|
|
|
|
Found that page will work with Google Chrome and Internet Explorer 11
Dosn't work with NeoPlanet and other IE clones.
|
|
|
|
|
Neoplanet? Wasn't the last stable release 13 years ago?
cheers
Chris Maunder
|
|
|
|
|
Hello Chris!
I've forked the code and added some event handler for the mode change (not pushed yet). What isn't clear to me is - are you want to use some existing code for content modification on mode change or something new? In both case I need more info...
Old case - how to call that code
New case - what exactly do you want to change between mode switches? (I saw the img problem, but there is more?)
[Modification]
I've just playing around and noticed that setting baseHref like this
CKEDITOR.config.baseHref = "http://www.codeproject.com/KB/miscctrl/gridctrl/"; removes the need for playing with image source on editor mode change! It can be always the simple myimage.jpg form...Consider it...
[/Modification]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
modified 23-Mar-14 7:24am.
|
|
|
|
|
I've merged your suggestions and added a concrete example of what was needed. Issue #1 is considered fixed!
cheers
Chris Maunder
|
|
|
|
|
In relation to the fourth item in your updated list (about sensible HTML)...
I wrote this article http://www.codeproject.com/Articles/748790/Beginners-Guide-to-HTML-CSS-Part-of[^] using the new editor. At the end I just copied the html code from my local copy to CP. I didn't got any 'insensible' HTML on the way. There is something specific I have to look for (except the line break in copied code, which I see no)?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
How was the experience with the new editor?
cheers
Chris Maunder
|
|
|
|
|
I found it very nice.
It never added extra lines between paragraphs (which happening me all the time with the current).
I liked the image insertion popup - it nice, clear and easy, also hyperlink creation is very nice...
The only thin I found different for the wrong direction is about the <code> block. I added it manually - as it's not on the toolbar (or I missed something) and when positioning the caret at the end of the line it was INSIDE the <code> block. It was a bit disturbing, but I'm sure that we can find a way to handle it...
In summary I can say that the new editor much more supportive, than the one we have today...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
DVD was always Digital Video Disk, for a long time. Then a few years ago, it became 'Versatile'! VERSATILE????!!!?!
And LOL was 'lots of laughs; as far as I always knew. Now it is 'laugh out loud'. When the hell did that happen?
|
|
|
|
|
My favorite definition of DVD is Dumb Vs. Dumber LOL
Just because the code works, it doesn't mean that it is good code.
modified 19-Mar-14 17:05pm.
|
|
|
|
|
BillW33 wrote: LOL
Did you mean "lots of laughs" or "laugh out loud"?
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm on-line therefore I am.
JimmyRopes
|
|
|
|
|
I intentionally left that up to the interpretation of the reader.
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
So others don't have to...from Wiki (so it must be true!)
'Certain members[who?] of the DVD Forum proposed the backronym "digital versatile disc" to express that DVDs can store other data formats, though the forum never universally accepted this name and a 1999 report decreed that DVD was "simply three letters" and stood for "nothing".[7][unreliable source?] "Digital versatile disc" is the explanation provided in a DVD Forum Primer from 2000.' So what does DVR mean?
Around here they are called CDs anyway. I don't argue, I know what she means.
"Go forth into the source" - Neal Morse
|
|
|
|