ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์Programmingท่านใดใช้ ckeditor อยู่บ้างครับ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: ท่านใดใช้ ckeditor อยู่บ้างครับ  (อ่าน 1829 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
$100perday
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 324
ออฟไลน์ ออฟไลน์

กระทู้: 2,032



ดูรายละเอียด
« เมื่อ: 12 กุมภาพันธ์ 2013, 21:36:41 »

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

เหนื่อย..
pompamjung
Newbie
*

พลังน้ำใจ: 9
ออฟไลน์ ออฟไลน์

กระทู้: 37



ดูรายละเอียด
« ตอบ #1 เมื่อ: 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>

ปรับตรงตอนเรียกใช้ครับ
« แก้ไขครั้งสุดท้าย: 12 กุมภาพันธ์ 2013, 21:45:26 โดย pompamjung » บันทึกการเข้า
$100perday
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 324
ออฟไลน์ ออฟไลน์

กระทู้: 2,032



ดูรายละเอียด
« ตอบ #2 เมื่อ: 12 กุมภาพันธ์ 2013, 21:47:52 »

โค๊ด:

<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
« แก้ไขครั้งสุดท้าย: 12 กุมภาพันธ์ 2013, 21:48:40 โดย $100perday » บันทึกการเข้า

เหนื่อย..
ayeweb
Verified Seller
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 321
ออฟไลน์ ออฟไลน์

กระทู้: 5,205



ดูรายละเอียด เว็บไซต์
« ตอบ #3 เมื่อ: 12 กุมภาพันธ์ 2013, 21:58:55 »

<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
บันทึกการเข้า


ข่าวไอที ข่าวสารไอที แอพไอโฟน บริการอื่นๆ
บริการ ตรวจหวย อื่นๆ ทั่วไปสาระน่ารู้ ความรู้ต่างๆ
Host ไทย เว็บผู้หญิงนะคะ แต่ผู้ชายก็เข้าได้ค่ะ
ตรวจหวย
ตรวจหวย ผลสลากกินแบ่งรัฐบาล>>
เช่าโฮสติ้ง Ruk-com
majika
คนรักเสียว
*

พลังน้ำใจ: 5
ออฟไลน์ ออฟไลน์

กระทู้: 108



ดูรายละเอียด เว็บไซต์
« ตอบ #4 เมื่อ: 12 กุมภาพันธ์ 2013, 22:35:02 »

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

หน้า: [1]   ขึ้นบน
พิมพ์