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

    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 Online
              Kornfeld Eliyahu PeterK Online
              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
              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                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)

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

                I've merged your suggestions and added a concrete example of what was needed. Issue #1 is considered fixed!

                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

                  Kornfeld Eliyahu PeterK Online
                  Kornfeld Eliyahu PeterK Online
                  Kornfeld Eliyahu Peter
                  wrote on last edited by
                  #30

                  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)

                  "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
                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                    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)

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

                    How was the experience with the new editor?

                    cheers Chris Maunder

                    Kornfeld Eliyahu PeterK 1 Reply Last reply
                    0
                    • C Chris Maunder

                      How was the experience with the new editor?

                      cheers Chris Maunder

                      Kornfeld Eliyahu PeterK Online
                      Kornfeld Eliyahu PeterK Online
                      Kornfeld Eliyahu Peter
                      wrote on last edited by
                      #32

                      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)

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

                      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