แก้บักใน code showdown.js



รายการบักที่แก้มีดังนี้
================

* ปัญหาขึ้นบันทัดใหม่ใน IE
    1. ลองแก้โดยเปลี่ยน element จาก div เป็น pre
        * เกิดบักใหม่ขึ้น เรื่องการตัดคำ เพราะ pre ไม่ตัดคำ
        * ลองแก้โดยการ ลบ element เดิมแล้วเปลี่ยนเป็น div โดยใช้ dom (ทำไมไม่ใช้ textarea ก็เพราะต้องแก้ css ใหม่เยอะซิครับ)
            * เกิดปัญหาเล็กน้อยโหลดช้าลง
* ปัญหา ไม่มี code hilighter
    1. แก้โดยการใช้ [syntaxhighlighter](http://code.google.com/p/syntaxhighlighter/)
        * เกิดปัญหาเพราะ ต้องใช้ ไฟล์หลายไฟล์ ประกอบกัน ยุ่งยากใน exteen จึงไปใช้ host อื่นแทนที่ [sukoom2001.co.cc](http://www.sukoom2001.co.cc)
        * ปัญหาโหลดช้าลง

ปัญหาที่ยังไม่แก้ว่างไว้จะแก้อีกทีละกัน

**ปล ไม่มี IE กับ windows ใช้จ้า เละไง ก็บอกละกัน**

			

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Connecting to %s