8 Replies Latest reply on May 13, 2015 8:59 PM by kwjh vlahsl dkf

    DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame

    abuske Level 1

      I recently upgraded to DW CC 2014.1 on my Mac - which caused me a number of issues. But the one I'm facing right now is very strange.

       

      Whenever I try to insert an image - either via the shortcut, or through the top level dropdown dialogue - when the file browser comes up, all of my HTML code disappears, to be replaced with a starter template and an iframe. This happens about 90% of the time - but it sometimes works correctly, and I can't figure out why it does work that 10%.

       

      Usually, I can just cancel the file browser and Undo to get my code back. But occasionally that doesn't work (and neither does Revert), and I have to close the document and re-open to my last save.

       

      Here's what appears when my code vanishes:

       

       

      Anybody know what's happening here? I don't use any specially created shortcuts. I've run into several issues with 2014.1 that have impacted my productivity, and it's getting increasingly frustrating.

        • 1. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
          abuske Level 1

          Not sure why the "what happens' code isn't show up, but it's:

           

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

          <html xmlns="http://www.w3.org/1999/xhtml">

          <head>

          <meta charset="UTF-8">

          <title>Untitled Document</title>

          </head>

           

           

          <frame src="file:///Macintosh HD/Users/index.html"><noframes><body>

          </body></noframes>

          </html>

          • 2. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
            Divya_b_c Employee Moderator

            Hi abuske,

             

            Can you please give the exact steps you are doing?Can you please try inserting the image in code view and let us know if you are still seeing the iframe code?

             

            Tahnks,

            dbc

            • 3. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
              MurraySummers Level 8

              But that's not an iframe in his posted code - it's a regular frame! And the page has a frameset doctype! We need a great deal more information to solve this one, given that DWCC 2014.1 doesn't support frames...

               

              Exact steps will help a lot.

              1 person found this helpful
              • 4. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
                abuske Level 1

                You're correct - I was very busy that day and moving fast, mistakenly thought it said "iFrame". I haven't honestly seen a Frameset in so long it didn't even register.

                 

                I've since reverted to using the first Dreamweaver CC build because the impact on my productivity was too significant with 2014.1. But I ran into this behavior when:

                 

                • Using the "insert image" keyboard shortcut in code view or split view. When the file browser dialogue appears, all of my code disappears and is replaced with the frameset posted above. This happened both when the cursor sat in a single space in the code, or when it was highlighting a section of code (as in, replacing an existing <img> line).
                • Using the "insert image" option from the top level dropdown. Same behavior as described above.
                • I rarely work directly in Design view, so I didn't encounter the issue in that view.

                 

                Notably, I did NOT run into this problem when using the Insert flyout from the right sidebar. I'd never used that before, but it seemed to avoid the undesired behavior.

                 

                Unfortunately, after I discovered the flyout Insert, I started seeing the same frame-code-replacement behavior when using the "Save as..." command (to create a new version of the document with a different filename). This was the point where I shut down CC2014.1 and reverted to the previous version.

                 

                I'm sorry I don't have a more detailed step-by-step rundown - it was happening repeatedly (though, as noted above, not 100% consistently) while I was in the midst of a busy workday, so I had to walk away from the program for now.

                 

                I should also note that I'm working on a high-end iMac running OSX 10.9.5.

                • 5. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
                  MurraySummers Level 8

                  Here's the best way to get help with a curious problem like this -

                   

                  1. Define your environment (platform, OS, anything else that might be relevant as you already have)

                  2. List a series of brief, explicit steps that will allow us to recreate the problem

                   

                  If we can't reproduce it, then neither can an engineer. They cannot fix something they cannot reproduce.

                  • 6. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
                    xerxexerox

                    I am experiencing the same issue.

                     

                    Environment: Mac Pro 6,1/OS X 10.9.5/DreamWeaver CC 2014.1 6947 Build

                    Relevant software: DefaultFolder X 4.6.10 (16690)

                     

                    Steps:

                    1) Position cursor on its own line in Code panel of Split View.

                    2) Press Cmd+Option+I [OR] select Insert > Image > Image

                    3) Navigate to image using file browser

                    4) Click OK

                    5) Repeat the above steps to insert a second image

                     

                    Result with DefaultFolder X active:

                    1) The first insert completes as expected [OR] all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself is inserted after the closing head tag

                     

                    2) For subsequent inserts:

                    • If the first insert completed as expected: If the cursor is indented from farthest-left,  all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file selected in the first insert appears after the closing head tag. If the cursor is not indented, *most* subsequent attempts will reproduce the issue
                    • If the first insert produced the issue: all subsequent inserts will reproduce the issue, and the frame source will be the file itself

                     

                    Result with DefaultFolder X disabled:

                    1) The first insert completes as expected [OR] all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself is inserted after the closing head tag

                     

                    2) For subsequent inserts:

                    • If the first insert completed as expected: If the cursor is indented from farthest-left,  all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself, no matter what file is selected in the file browser dialog, appears after the closing head tag. If the cursor is not indented, *most* subsequent attempts will reproduce the issue
                    • If the first insert produced the issue: all subsequent inserts will reproduce the issue, and the frame source will be the file itself
                    • 7. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
                      Preran Adobe Employee

                      Hi xerxeserox,

                       

                      We haven't heard of anything similar before. I am forwarding this post to the team for investigation.

                       

                      Thanks,

                      Preran

                      • 8. Re: DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame
                        kwjh vlahsl dkf

                        Have you been able to replicate this problem? I'm experiencing the same issue, using a Mac OS, Dreamweaver CC. It doesn't happen every time but maybe every third time or so. This seems like a serious issue to me. Something as simple as inserting an image shouldn't be wiping out your  HTML code and inserting a frame tag before the body tag.