ท่านใดใช้ ckeditor อยู่บ้างครับ

เริ่มโดย $100perday, 12 กุมภาพันธ์ 2013, 21:36:41

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

$100perday

ถามท่านที่ใช้ ckeditor อยู่อ่ะครับ ว่าปรับตรงไหนที่เพิ่มจำนวนความสูงอ่ะครับ
รบกวนทีนะครับ งมยังไงก็ไม่เจอ :wanwan017:
เหนื่อย..

pompamjung

#1


<textarea name="detail" cols="30" rows="5" id="detail" class="ckeditor" ></textarea>
          <script type="text/javascript">
        //<![CDATA[
            CKEDITOR.replace( 'detail',{
            // อยากกำหนดอะไรก็ใส่ที่นี่
skin   : 'kama',
//skin   : 'office2003',
//language   : 'en',

// ถ้าไม่ระบุ skin สามารถปรับสีได้เองด้วยโค้ดล่างนี้
//extraPlugins : 'uicolor',
//uiColor : '#006699',
//กำหนดความกว้างความสูงของ editor
height : 400,
width  : 750,
//กำหนดเครื่องมือของ editor
toolbar :
        [
            ['Source','-','Save','NewPage','Preview','-','Templates'],
            ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
            ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
            ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
            '/',
            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
            ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Link','Unlink','Anchor'],
            ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
            '/',
            ['Styles','Format','Font','FontSize'],
            ['TextColor','BGColor'],
            ['Maximize', 'ShowBlocks','-','About']

        ],
          } );
        //]]>
    </script>


ปรับตรงตอนเรียกใช้ครับ

$100perday

#2
อ้างถึงจาก: pompamjung ใน 12 กุมภาพันธ์ 2013, 21:44:36


<textarea name="detail" cols="30" rows="5" id="detail" class="ckeditor" ></textarea>
         <script type="text/javascript">
       //<![CDATA[
           CKEDITOR.replace( 'detail',{
           // อยากกำหนดอะไรก็ใส่ที่นี่
skin   : 'kama',
//skin   : 'office2003',
//language   : 'en',

// ถ้าไม่ระบุ skin สามารถปรับสีได้เองด้วยโค้ดล่างนี้
//extraPlugins : 'uicolor',
//uiColor : '#006699',
//กำหนดความกว้างความสูงของ editor
height : 400,
width  : 750,
//กำหนดเครื่องมือของ editor
toolbar :
       [
           ['Source','-','Save','NewPage','Preview','-','Templates'],
           ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
           ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
           ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
           '/',
           ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
           ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
           ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
           ['Link','Unlink','Anchor'],
           ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
           '/',
           ['Styles','Format','Font','FontSize'],
           ['TextColor','BGColor'],
           ['Maximize', 'ShowBlocks','-','About']

       ],
         } );
       //]]>
   </script>


ปรับตรงตอนเรียกใช้ครับ

1 > 2
ปล.   ไปแล้วนี่หว่า ทำไมไม่ขึ้น :wanwan044:
ขอบคุณมากครับ  :wanwan017:
เหนื่อย..

ayeweb

<style type="text/css">
#content table.cke_editor { margin:0; }
#content table.cke_editor tr td { padding:0;border:0; }
.cke_contents {
height: 200px !important;
}
</style>
เปลี่ยนจาก 200 เป็นความสูงที่ต้องการครับ
:wanwan019:

[direct=https://www.bitimer.in.th/]ข่าวไอที[/direct] ข่าวสารไอที แอพไอโฟน บริการอื่นๆ
[direct=https://page.line.me/gnm7628z]บริการ ตรวจหวย[/direct] อื่นๆ ทั่วไปสาระน่ารู้ ความรู้ต่างๆ
[direct=https://goo.gl/XQp91t]Host ไทย[/direct] เว็บผู้หญิงนะคะ แต่ผู้ชายก็เข้าได้ค่ะ
[direct=https://page.line.me/oer1981h]ตรวจหวย[/direct]
ตรวจหวย ผลสลากกินแบ่งรัฐบาล>>
[direct=https://goo.gl/H3JCzK]เช่าโฮสติ้ง Ruk-com[/direct]

majika

เข้าไปเพิ่มค่าความสูงในไฟล์ config.js ดูสิครับ