Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Helping CodeProject with programming

Helping CodeProject with programming

Scheduled Pinned Locked Moved The Lounge
workspacejavascripthtmlcomsysadmin
32 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

    cheers Chris Maunder

    M Offline
    M Offline
    Mitchell J
    wrote on last edited by
    #9

    It's a bit unrelated, but I've been working on a little CP desktop gadget[^] that I plan to publish here sometime as an article... and I had a question. :-D Are there any CodeProject API's for getting user notifications, or reporting messages/members? The user notifications are more important, but the reporting would make the spam-detecting aspects of the application much easier to code. At the moment the app uses a WebBrowserControl running in the background, refreshing every minute or so and then scraping the html for user notifications. The human-approved reporting was going to use another WebBrowserControl and do some DOM invoking to click buttons and stuff. API's would also consume less server resources. :)

    C 1 Reply Last reply
    0
    • C Chris Maunder

      It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

      cheers Chris Maunder

      D Offline
      D Offline
      Daniel Engelkes
      wrote on last edited by
      #10

      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.

      C 1 Reply Last reply
      0
      • C Chris Maunder

        It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

        cheers Chris Maunder

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #11

        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! ;P 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

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        C 1 Reply Last reply
        0
        • Richard DeemingR Richard Deeming

          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! ;P 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

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #12

          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

          Richard DeemingR 1 Reply Last reply
          0
          • D Daniel Engelkes

            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.

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #13

            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

            D 1 Reply Last reply
            0
            • C Chris Maunder

              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

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #14

              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. :rolleyes:


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              C 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                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. :rolleyes:


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #15

                Stop calling me Shirley.

                cheers Chris Maunder

                1 Reply Last reply
                0
                • M Mitchell J

                  It's a bit unrelated, but I've been working on a little CP desktop gadget[^] that I plan to publish here sometime as an article... and I had a question. :-D Are there any CodeProject API's for getting user notifications, or reporting messages/members? The user notifications are more important, but the reporting would make the spam-detecting aspects of the application much easier to code. At the moment the app uses a WebBrowserControl running in the background, refreshing every minute or so and then scraping the html for user notifications. The human-approved reporting was going to use another WebBrowserControl and do some DOM invoking to click buttons and stuff. API's would also consume less server resources. :)

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #16

                  Opening up the reporting system via an external API isn't something we're totally keen on at this point. It's a very large, scary can of worms.

                  cheers Chris Maunder

                  M 1 Reply Last reply
                  0
                  • M Marco Bertschi

                    Can you do an Article Editor Client which communicates via encrypted TCP in Assembly?

                    I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #17

                    Of course. All the code you write in C# or C++ just ends up as assembly anyway.

                    1 Reply Last reply
                    0
                    • D Dan Neely

                      You can call win32 via assembly[^], so he could. We all know how much he loves windows. :-\

                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #18

                      :) I just get so sick of the endless hoops you have to jump through to get anything running properly on windows, and how easily it breaks itself. And once it is broken, its 'total install'. Ghost, the Windows programmers go to tool....

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        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

                        D Offline
                        D Offline
                        Daniel Engelkes
                        wrote on last edited by
                        #19

                        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.

                        C 1 Reply Last reply
                        0
                        • C Chris Maunder

                          It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

                          cheers Chris Maunder

                          M Offline
                          M Offline
                          Member_5893260
                          wrote on last edited by
                          #20

                          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...

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

                            cheers Chris Maunder

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #21

                            I am slammed for the next couple of months but, after that, I am all yours.

                            1 Reply Last reply
                            0
                            • D Daniel Engelkes

                              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.

                              C Offline
                              C Offline
                              Chris Maunder
                              wrote on last edited by
                              #22

                              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

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

                                cheers Chris Maunder

                                O Offline
                                O Offline
                                Olanrewaju Sideeq
                                wrote on last edited by
                                #23

                                This should be fun Lets do this!

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

                                  cheers Chris Maunder

                                  M Offline
                                  M Offline
                                  Mark AJA
                                  wrote on last edited by
                                  #24

                                  Very funny. Dose the WYSIWYG editor hourglass diaper on 1/04/2014?

                                  M 1 Reply Last reply
                                  0
                                  • M Mark AJA

                                    Very funny. Dose the WYSIWYG editor hourglass diaper on 1/04/2014?

                                    M Offline
                                    M Offline
                                    Mark AJA
                                    wrote on last edited by
                                    #25

                                    Found that page will work with Google Chrome and Internet Explorer 11 Dosn't work with NeoPlanet and other IE clones.

                                    C 1 Reply Last reply
                                    0
                                    • M Mark AJA

                                      Found that page will work with Google Chrome and Internet Explorer 11 Dosn't work with NeoPlanet and other IE clones.

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #26

                                      Neoplanet? Wasn't the last stable release 13 years ago?

                                      cheers Chris Maunder

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        Opening up the reporting system via an external API isn't something we're totally keen on at this point. It's a very large, scary can of worms.

                                        cheers Chris Maunder

                                        M Offline
                                        M Offline
                                        Mitchell J
                                        wrote on last edited by
                                        #27

                                        OK. :-D I understand about the reporting, expecially given what happened to me[^] a few days ago... X| ... so I definitely don't want to create anything that aids such behaviour.

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea. Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. 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. We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try. Is there still any interest? I've opened a new Workspace and setup a Git repo at https://workspaces.codeproject.com/codeproject/codeproject/wysiwyg-editor[^] for anyone who's interested in diving in and helping build some of the CodeProject infrastructure. You'll obviously need to have a basic understanding of JavaScript (and Git!) to get going, but feel free to ping me if you need help getting off the ground. This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.

                                          cheers Chris Maunder

                                          Kornfeld Eliyahu PeterK Offline
                                          Kornfeld Eliyahu PeterK Offline
                                          Kornfeld Eliyahu Peter
                                          wrote on last edited by
                                          #28

                                          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)

                                          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups