Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-823

Modifying the location ("habillage") of a picture has no effect in the inline editor under IE

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.9.20
    • 2.9.19
    • Inline Editor
    • None
    • IE

      How to
      Edit a content
      Add some text (see below for the text)
      Add a picture in the text
      Click of image properties, location = "placement"
      choose the location left

      Actual Behavior
      The picture does not move

      Expected Behavior
      The picture is displayed at his final place

      Note
      If you save the content, the picture is well located. It is the same if you edit it again.
      In my case the picture is a white square with a red cross after saving so it may be a side effect

      Text content used
      Dum apud Persas, ut supra narravimus, perfidia regis motus agitat insperatos, et in eois tractibus bella rediviva consurgunt, anno sexto decimo et eo diutius post Nepotiani exitium, saeviens per urbem aeternam urebat cuncta Bellona, ex primordiis minimis ad clades excita luctuosas, quas obliterasset utinam iuge silentium! ne forte paria quandoque temptentur, plus exemplis generalibus nocitura quam delictis.
      Nihil est enim virtute amabilius, nihil quod magis adliciat ad diligendum, quippe cum propter virtutem et probitatem etiam eos, quos numquam vidimus, quodam modo diligamus. Quis est qui C. Fabrici, M'. Curi non cum caritate aliqua benevola memoriam usurpet, quos numquam viderit? quis autem est, qui Tarquinium Superbum, qui Sp. Cassium, Sp. Maelium non oderit? Cum duobus ducibus de imperio in Italia est decertatum, Pyrrho et Hannibale; ab altero propter probitatem eius non nimis alienos animos habemus, alterum propter crudelitatem semper haec civitas oderit.

          [CMS-823] Modifying the location ("habillage") of a picture has no effect in the inline editor under IE

          The initial issue is to set/get the float value in style.
          But float is keyword in js.

          Problem was using the code

          .style.cssFloat
          

          that works only on FF

          On IE its :

          .style.styleFloat
          

          Raphaël Franchet added a comment - The initial issue is to set/get the float value in style. But float is keyword in js. Problem was using the code .style.cssFloat that works only on FF On IE its : .style.styleFloat

          The dialog box for choosing the location of the picture

          Frederic Ravetier (Inactive) added a comment - The dialog box for choosing the location of the picture

          The picture used in this test

          Frederic Ravetier (Inactive) added a comment - The picture used in this test

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: