Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-809

Empty lines added in "simple text" editor

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • xCM 4.3
    • xCM 4.0.7, xCM 4.1.1
    • None

    Description

      When adding content with HTML tags in the "simple text" editor of a bigtext area like :

      <html>
      <p>test</p>
      </html>

      and then switching to HTMLArea or updating a few times this content, empty lines are added and the bigtext look like :

      <html>

      <P>test</P>

      </html>

      TestRail: Results

        Attachments

          Issue Links

            Activity

              [JAHIA-809] Empty lines added in "simple text" editor
              insipid Paul Noone added a comment -

              I am still having the same issues with 4.1.1 and 3.0rc1. The only markup filter I have is 'font' which is not causing the new lines breaks on each edit attempt.

              I notice that this fix seems to be for 4.2 only. Is there a version of HTML Area (or a patch I can apply) that will fix this problem?

              Or is there a version of FCK I can download and install for 4.1.1? If so, could you please also supply the required entry for the htmleditors_config.xml file?

              insipid Paul Noone added a comment - I am still having the same issues with 4.1.1 and 3.0rc1. The only markup filter I have is 'font' which is not causing the new lines breaks on each edit attempt. I notice that this fix seems to be for 4.2 only. Is there a version of HTML Area (or a patch I can apply) that will fix this problem? Or is there a version of FCK I can download and install for 4.1.1? If so, could you please also supply the required entry for the htmleditors_config.xml file?

              For me it is working on Firefox and IE. I have only fixed it for the htmlarea-3.0-rc1, so please check what is configured in your jahia\WEB-INF\etc\htmleditors\htmleditors_config.xml.

              If it is still not working please attach the following screenshots:

              Jahia Administration -> Html Editors -> Display Html Editors List
              Jahia Administration -> Html Editors -> Manage markups filtering
              Jahia Administration -> Html Editors -> Manage site setting

              pap@commaro.com_old Benjamin Papez (Inactive) added a comment - For me it is working on Firefox and IE. I have only fixed it for the htmlarea-3.0-rc1, so please check what is configured in your jahia\WEB-INF\etc\htmleditors\htmleditors_config.xml. If it is still not working please attach the following screenshots: Jahia Administration -> Html Editors -> Display Html Editors List Jahia Administration -> Html Editors -> Manage markups filtering Jahia Administration -> Html Editors -> Manage site setting

              fixed a htmlarea bug

              pap@commaro.com_old Benjamin Papez (Inactive) added a comment - fixed a htmlarea bug

              There still a problem: I've just edit the text on the home page.
              On the content tab, I've switched between Simple Text Editor and HTMLArea editor, and many blank lines have been added.

              **************************************************************************************************************************************************
              <html>
              Cliquez sur le bouton <STRONG>Authentification</STRONG> et entrez le nom d'utilisateur et le mot de passe que vous avez choisi pendant l'installation. Les menus vont changer automatiquement suivant le profil correspondant.
              <BR>

              <BR>En cliquant le bouton <STRONG>Edition</STRONG> vous permettra d'entrer en mode édition de page en vous donnant la possibilité de changer, ajouter, gérer et enlever des pages, du contenu des champs, d'application web, etc. en fonction de vos droits.</html>

              **************************************************************************************************************************************************
              <html>
              Cliquez sur le bouton <STRONG>Authentification</STRONG> et entrez le nom d'utilisateur et le mot de passe que vous avez choisi pendant l'installation. Les menus vont changer automatiquement suivant le profil correspondant.
              <BR>

              <BR>En cliquant le bouton <STRONG>Edition</STRONG> vous permettra d'entrer en mode édition de page en vous donnant la possibilité de changer, ajouter, gérer et enlever des pages, du contenu des champs, d'application web, etc. en fonction de vos droits.</html>
              **************************************************************************************************************************************************

              dsaulnier_old Damien Saulnier added a comment - There still a problem: I've just edit the text on the home page. On the content tab, I've switched between Simple Text Editor and HTMLArea editor, and many blank lines have been added. ************************************************************************************************************************************************** <html> Cliquez sur le bouton <STRONG>Authentification</STRONG> et entrez le nom d'utilisateur et le mot de passe que vous avez choisi pendant l'installation. Les menus vont changer automatiquement suivant le profil correspondant. <BR> <BR>En cliquant le bouton <STRONG>Edition</STRONG> vous permettra d'entrer en mode édition de page en vous donnant la possibilité de changer, ajouter, gérer et enlever des pages, du contenu des champs, d'application web, etc. en fonction de vos droits.</html> ************************************************************************************************************************************************** <html> Cliquez sur le bouton <STRONG>Authentification</STRONG> et entrez le nom d'utilisateur et le mot de passe que vous avez choisi pendant l'installation. Les menus vont changer automatiquement suivant le profil correspondant. <BR> <BR>En cliquant le bouton <STRONG>Edition</STRONG> vous permettra d'entrer en mode édition de page en vous donnant la possibilité de changer, ajouter, gérer et enlever des pages, du contenu des champs, d'application web, etc. en fonction de vos droits.</html> **************************************************************************************************************************************************

              should be fixed now

              khue Khue N'Guyen (Inactive) added a comment - should be fixed now

              People

                dsaulnier_old Damien Saulnier
                mromy_old Michel Romy (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases

                      Packages

                        Version Package
                        xCM 4.3