Id for Editor popup

Id for Editor popup

Prasanna7Prasanna7 Posts: 8Questions: 4Answers: 0

Hi Allan,

Can I assign ID for the editor? I need to have 3 column layout in the editor. I have achieved it by assigning it to DTED class. I have page which does not need it.

Can we identify the editor in a specifix page using Css? Please help.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,971Questions: 1Answers: 10,160 Site admin
    Answer ✓

    I'd suggest having a class that indicated the layout at a higher level. For example <body class="editor-three-column"> then you can target your CSS as required.

    Regards,
    Allan

  • Prasanna7Prasanna7 Posts: 8Questions: 4Answers: 0

    Thanks Allan. i will try this.

    As of now, I have used the following css to make it done. for the page which doesnt need it, i removed the css for tat page in script.

    .DTE_Form_Content {   
      -moz-columns: 3 400px;
       -webkit-columns: 3 400px;
       columns: 3 400px;
    -moz-column-gap: 40px;
    -webkit-column-gap: 40px;
    column-gap: 40px;
     column-fill: auto;
    }
    
    .DTE_Form_Content .DTE_Field {
        break-inside: avoid-column;
    }
    
    .DTED {
       width: auto !important;
       align-self: center;
    vertical-align: central;
    position: center !important;
    left: 7px !important;
    right: 7px !important;
    top: 68px !important;
    }
    
This discussion has been closed.