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

Editor : Change the style for an image make it loose it float state

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0RC1
    • 3.0 M4
    • Inline Editor
    • None

      Edit a content
      Insert an image and type text
      make the image float right
      Change the style of the image
      The image is no more floating

          [CMS-1283] Editor : Change the style for an image make it loose it float state

          ok
          we now handle a list of protected classes
          you can add on using

              org.ametys.cms.editor.basicactions.ApplyStyle.addProtectedClass("img", "floatleft");
              org.ametys.cms.editor.basicactions.ApplyStyle.addProtectedClass("img", "floatright");
          

          Raphaël Franchet added a comment - ok we now handle a list of protected classes you can add on using org.ametys.cms.editor.basicactions.ApplyStyle.addProtectedClass( "img" , "floatleft" ); org.ametys.cms.editor.basicactions.ApplyStyle.addProtectedClass( "img" , "floatright" );

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: