Posts Tagged html
[Flex] HTML WYSIWYG Editor
相信如果大家有做開flash 的都知道,flash 在html 的support 真的很有限。簡單來講flex 的RichTextEditor 是useless. Chowky 都有試下自己開發一下,不過就問題太多,不值得投放太多時間。
見到別人這個html editor ,以為有人真的會重寫整個richtexteditor component不過原來是embed 了html javascript 的editor.
這樣做的話,始終不是chowky 想要的解決方法。
原本以為 Text Layout Framework 可以幫到手,不過他會有自己的一套syntax (chowky 倒覺得是正常的),當然情況就不太好的呢~。chowky 一直覺得flash 不應該做排版的工作,所以利用flash 來做CMS 真的有點怪。
不過這個editor 應該夠用了。希望free 的text layout editor 會推出~~ 問題就會解決了,哈~
Source: http://www.dgrigg.com/post.cfm/12/23/2009/Flex-WYSIWYG-Html-Editor
[Flex] Flex 3 htmltext property對html tag支援問題
近來chowky 工作上需要利用textarea, text 上面的htmltext 的property,用來支援html。
誰不知~原來flex 3 對html的支援真的非常有限
只是支援以下的tag,看來去好像很多,但連最基本的table都不支援。
- Anchor tag (<a>)
- Bold tag (<b>)
- Break tag (<br>)
- Font tag (<font>)
- Image tag (<img>)
- Italic tag (<i>)
- List item tag (<li>)
- Paragraph tag (<p>)
- Text format tag (<textformat>)
- Underline tag (<u>)
最大問題是image tag 可用程度非常低。
很多的adobe 以知的bugs 都是關於htmltext 的。
所以chowky最尾都是放棄了img tag. 直接parse image,再譯成image class。反而更順利。
(哈,有同事被迫要用..慘…搞到非常大問題,以及用了不少”workaround” 才可以”解決”)
Note: The <img>
tag is not fully supported, and might not work in some cases. (這麼寫法是否想提醒你,不一定可行,自己好自為之)



Recent Comments