We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5898
    • 13 Posts
    いつもお世話になっております。
    FCKeditorについて質問があります。
    スタイルメニューの内容をカスタマイズするために、fckstyles.xmlを編集しているのですが、style要素で、htmlファイルに直接cssを記述するのではなく、class属性を適用したい場合は、どういった記述をすれば良いのでしょうか。
    どなたかアドバイスをいただけないでしょうか。よろしくお願いいたします。
      • 26012
      • 324 Posts
      下でそれらしきことが語られてる気がするのですが、どうでしょ?
      http://modxcms.com/forums/index.php?topic=3908.0
      FCKのサポートはこちらのようです(読むのに相当根性要りそうですが・・・)。
      http://modxcms.com/forums/index.php/topic,5516.0.html
      • <?xml version="1.0" encoding="utf-8" ?>
          <Styles >
            <Style name="右寄せ" element="div">
              <Attribute name="class" value="right" />
            </Style >
            <Style name="左寄せ" element="div">
              <Attribute name="class" value="left" />
            </Style >
          </Styles>
        

        こんな感じだったかな?
          • 5898
          • 13 Posts
          yamaさん

          うまくいきました laughご丁寧な説明ありがとうございました。