兩種主題
站在用戶的角度思考問題,與客戶深入溝通,找到興賓網(wǎng)站設(shè)計與興賓網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設(shè)計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:做網(wǎng)站、成都網(wǎng)站設(shè)計、企業(yè)官網(wǎng)、英文網(wǎng)站、手機端網(wǎng)站、網(wǎng)站推廣、域名申請、雅安服務(wù)器托管、企業(yè)郵箱。業(yè)務(wù)覆蓋興賓地區(qū)。
toolbar的自定義:
quill取消了getHtml()的API,getContents()返回的是Delta對象,一種JSON數(shù)組,getText()返回文本域里對應(yīng)字符串。
因平臺需將用戶編輯的格式傳回后臺生成郵件的正文,而郵件的正文是Html格式,通過查issue找到獲取Html的方法: quill.container.firstChild.innerHTML
可以用百度的文本編輯器,當(dāng)然還有其他的,挺多的,
而且你也可以自己寫的。
1. Mercury : HTML5 Powered WYSIWYG Editor
Mercury 是個全功能的編輯器,包含TinyMCE和CKEditor同樣的功能,但又有不同的特性。與iFrames有所不同,它使用了HTML5內(nèi)容可編輯功能等。Mercury 是由CoffeeScript代碼編寫,其支持所有的主流瀏覽器。
Website/Downoad
2 Aloha Editor – HTML5 WYSIWYG Editor
Aloha Editor 是個基于瀏覽器的富文本編輯器框架。不像其他大多數(shù)的HTML編輯器,Aloha可以被嵌入到CMS、Blog,及其他標(biāo)準(zhǔn)的web開發(fā)框架中。
Website
3. Rendra- Online HTML 5 Editor
Rendra 是個在線HTML5 編輯器,支持用戶實時預(yù)覽,用戶可以使用哪個瀏覽器支持的HTML 5和CSS 3,以及HAML 和SASS。它是由CoffeeScript 和 Sinatra代碼編寫的。用戶可以用Rendra測試JS代碼,允許用戶利用 jQuery UI,jQuery 工具和插件。
Website
4. BlueGriffon: Next Generation HTML5 WebEditor
BlueGriffon是一個新的WYSIWYG編輯器,跨平臺, 支持Windows, Linux and Mac OSX。 該編輯器內(nèi)置HTML5/CSS3編輯功能,可以輕松地用它來實現(xiàn)傳輸、文本和邊框的陰影、斜體等效果。它使用Google Font Directory 和FontSquirrel addons,可以設(shè)置個性化網(wǎng)頁字體。
Website
5. Maqetta : Open Source Project HTML5 Editor
Maqetta,一個創(chuàng)建桌面和移動用戶界面的HTML5設(shè)計編輯工具,并同時宣布將項目捐助給開源機構(gòu)Dojo基金會。
Maqetta已經(jīng)是開源項目,提供WYSIWYG可視化HTML5用戶界面設(shè)計功能,僅需簡單的拖曳操作,支持桌面和移動用戶界面。
6. Apatana Studio 3
Aptana Studio 3 是開源web開發(fā)工具,它允許開發(fā)者測試web應(yīng)用,支持最新的web開發(fā)技術(shù)如HTML5, CSS3, JavaScript, Ruby, Rails, PHP 和 Python。Apatanna包含很多的功能,比如GIF integration, HTML,CSS和JavaScript Code assists, integrated debugger, 部署向?qū)?,以及IDE定制化。
方法/步驟
1
!DOCTYPE html
html
head
titleImages upload/title
meta charset="utf-8"
meta name="viewport" content="width=device-width"
link rel="stylesheet" type="text/css" href="../css/style.css" /
script type="text/javascript" src="../lib/jquery-1.7.min.js"/script
link rel="stylesheet" href="../redactor/css/redactor.css" /
script src="../redactor/redactor.js"/script
script type="text/javascript"
$(document).ready(
function()
{
$('#redactor_content').redactor({ imageUpload: '../demo/scripts/image_upload.php' });
}
);
/script
/head
body
div id="page"
textarea id="redactor_content" name="content" style="height: 460px;"
h2Hello and Welcome/h2
pI never did quite grasp him, though he endeavored to explain it to me upon numerous occasions. I suggested telepathy, but he said no, that it was not telepathy since they could only communicate when in each others' presence, nor could they talk with the Sagoths or the other inhabitants of Pellucidar by the same method they used to converse with one another./p
p"What they do," said Perry, "is to project their thoughts into the fourth dimension, when they become appreciable to the sixth sense of their listener. Do I make myself quite clear?"/p
p"You do not, Perry," I replied. He shook his head in despair, and returned to his work. They had set us to carrying a great accumulation of Maharan literature from one apartment to another, and there arranging it upon shelves. I suggested to Perry that we were in the public library of Phutra, but later, as he commenced to discover the key to their written language, he assured me that we were handling the ancient archives of the race./p
pDuring this period my thoughts were continually upon Dian the Beautiful. I was, of course, glad that she had escaped the Mahars, and the fate that had been suggested by the Sagoth who had threatened to purchase her upon our arrival at Phutra. I often wondered if the little party of fugitives had been overtaken by the guards who had returned to search for them. Sometimes I was not so sure but that I should have been more contented to know that Dian was here in Phutra, than to think of her at the mercy of Hooja the Sly One. Ghak, Perry, and I often talked together of possible escape, but the Sarian was so steeped in his lifelong belief that no one could escape from the Mahars except by a miracle, that he was not much aid to us—his attitude was of one who waits for the miracle to come to him./p
/textarea
/div
/body
/html
一、Adobe Edge
目前還處于預(yù)覽階段的Adobe Edge是用HTML5、CSS、JavaScript開發(fā)動態(tài)互動內(nèi)容的設(shè)計工具。內(nèi)容可以同時兼容移動設(shè)備和桌面電腦。Edge的一個重要功能是Web工具包界面,方便確保頁面在不同瀏覽器中的架構(gòu)一致性,此外Edge還將整合TypeKit這樣的字體服務(wù)。
動畫和圖形可以添加到HTML元素中,程序也能通過Edge自身的代碼片段庫或者JavaScript代碼進行擴展。動畫可以在獨立的時間線上進行嵌套,還能實現(xiàn)互動功能。符合可以服用并通過API和代碼片段控制。通過Edge設(shè)計的內(nèi)容可以兼容iOS和Android設(shè)備,也可以運行在火狐、Chrome、Safari和IE9等主流瀏覽器。
二、Adobe Dreamweaver CS6
Adobe Dreamweaver CS6作為一個Web設(shè)計軟件,提供了對HTML網(wǎng)站和移動程序的可視化編輯界面。其Fluid Grid排版系統(tǒng)整合CSS樣式表功能,提供自適應(yīng)版面的跨平臺兼容性。開發(fā)者可以完全實現(xiàn)Web設(shè)計的可視化操作,無需為代碼所困。
用戶不但還能在Live View中預(yù)覽,還提供多屏幕預(yù)覽功能。開發(fā)者可以通過MultiScreen預(yù)覽面板查看HTML5內(nèi)容的渲染效果。Live View通過WebKit渲染引擎支持HTML5。
三、Adobe ColdFusion 10
ColdFusion是用來開發(fā)企業(yè)Web程序的服務(wù)器端技術(shù),通過Websockets、互動表單、視頻和地理標(biāo)簽等HTML5技術(shù)創(chuàng)建富媒體用戶體驗。
四、Sencha Architect 2
在開發(fā)移動和桌面應(yīng)用的工具中,Sencha的定位是HTML5可視化應(yīng)用開發(fā)。開發(fā)團隊可以在一個單一集成的環(huán)境中完成應(yīng)用的設(shè)計、開發(fā)和部署。開發(fā)者還可以開發(fā)Sencha Touch2和Ext JS4 JavaScript應(yīng)用,并實時預(yù)覽。
五、Sencha Touch 2
Sencha Touch2是移動應(yīng)用框架,也被看作是Sencha的HTML5平臺。開發(fā)者可以用它開發(fā)面向iOS、Android和Blackberry、Kindle Fire等多種平臺的移動應(yīng)用。
六、Dojo Foundation Maqetta
來自于IBM的一個項目,Dojo Foundation Maqetta是為桌面和移動設(shè)備開發(fā)HTML5應(yīng)用的開源工具,支持在瀏覽器中查看HTML5界面。用戶體驗設(shè)計師可以通過拖放組裝UI樣板
七、微軟Visual Studio 2010 ServicePack 1
雖然一開始并不支持HTML5,但微軟在2011年三月發(fā)布的Visual Studio 2010 SP1中提供了IntelliSense,追加了針對HTML5的一些元素。
八、JetBrains WebStorm 4.0
作為擁有HTML編輯器的JavaScript集成開發(fā)環(huán)境,WebStorm4.0提供了開發(fā)web應(yīng)用的HTML5樣板。開發(fā)者可以在創(chuàng)建HTML文檔時可獲得對HTML5文件的支持。例如砍伐者鍵入。開發(fā)者還可以在chrome瀏覽器中實時預(yù)覽HTML文檔。
九、Google Web Toolkit
該開發(fā)工具用于開發(fā)瀏覽器應(yīng)用,但庫中支持很多HTML5功能。包括對客戶端或web存儲的支持。其他HTML5功能還包括支持Canvas可視化,以及音頻和視頻widget。