Home > General > Post_editor.js

Post_editor.js

Contribute! hexo-pl is a 3rd party api platforms. html2bbcode(getEditorContents()) : (!theform.parseurloff.checked ? You signed out in another tab or window.

Most plugins are simple to configure, while the core editor has nearly 100 customization options, from simple modifications to the most arcane edge cases.TinyMCE is Open SourceFor a decade TinyMCE has Learn more about Private Packages and Organizations… how? parseurl(originalmessage) : originalmessage); try { $("e_textarea").value = message; } catch (e) { $("e_textarea").value = message; } ajaxpost('postform', 'returnmessage', 'returnmessage', 'onerror'); return false; } } function seccheck(theform, seccodecheck, secqaacheck, previewpost) { if(!previewpost theform.message.value : $("e_textarea").value var message = bbinsert && wysiwyg ?

if ($('amount') != null) { if (!validategoods()) {//??????????javascript????template_postgoods.js?template_eidtgoods.js?? Version 1.x and beyond only support Hexo v3.x. SigninPricingSupport Libraries > post_editor.js post_editor.js - Search Live Website Code It's like doing CTRL+F on millions of websites' source code NerdyData is a search engine for source code.

The community BBS system v6.0.0 build 20110516 utf-8 version installation - JspRun! theform.replysubmit.disabled = true : theform.topicsubmit.disabled = true; theform.submit(); } } function previewpost(){ if(!validate($('postform'), true)) { try{$('title').focus();}catch(e){} return; } $("previewmessage").innerHTML = '' + $('title').value + '

' Quickstart 1. Install the hexo-post-editor & start things up Should install hexo-pl first.

TinyMCE is a platform independent web-based JavaScript HTML WYSIWYG editor control released as open source under LGPL. return false; } } /*else{ if(in_array($('postsubmit').name, ['topicsubmit', 'replysubmit'])){ //seccheck(theform, seccodecheck, secqaacheck, previewpost); } }*/ /* if(previewpost || $('postsubmit').name == 'editsubmit') { $("title").disabled = false; //alert($("title").disabled); return true; } */ //if(in_array($('postsubmit').name, ['topicsubmit'])) An Post Editor for the Hexo blog engine. learn more tyleryang published 2016-01-09T11:37:39.943Z 0.0.3 is the latest of 4 releases github.com/tyleryang/hexo-post-editor ISC ® Collaborators list Stats 0 downloads in the last day 4 downloads in the last week 20

Related Source Codes/Software: Fast easy v8.1 character selection management system - The program main function: 2016-10-27Small enterprise recruitment system - From a corporate station spun off the source, dele... 2016-10-26Life card tmeasday closed this Dec 7, 2013 Sign up for free to join this conversation on GitHub. parseurl(theform.message.value) : theform.message.value); if(($('postsubmit').name != 'replysubmit' && !($('postsubmit').name == 'editsubmit' && !isfirstpost) && theform.title.value == "") || message.replace(unescape("%0A"), "") == "") { alert(lang['post_title_and_message_isnull']); if(special != 2) { try{theform.title.focus();}catch(e){}; } return false; JAVASCRIPT FILE http://www.shanzhuoboshi.com/wp-content/themes/szbs_wp_1.48/js/post_editor.js Function ExplorershowDivPosition: 7,0newaddressPosition: 41,0hideDivPosition: 49,0imgOkPosition: 56,0linkOkPosition: 71,0insertsmilePosition: 97,0edInsertContentPosition: 104,0postnlouPosition: 132,0quotepostPosition: 152,0 Libraries on www.shanzhuoboshi.com Explore Morejquery.min.jsscript.jsorphus.jsajax.js post_editor.js // JS LinkImageTags version 0.01 // Author:yueyanzhao // QQ:85659925 // MSN:[email protected]

Already have an account? html2bbcode(getEditorContents()) : (!theform.parseurloff.checked ? It has even been changed in the final repo to the correct code, but not updated in the book. Sign in to comment Contact GitHub API Training Shop Blog About © 2017 GitHub, Inc.

lang['board_allowed'] + ': ' + postminchars + ' ' + lang['lento'] + ' ' + postmaxchars + ' ' + lang['bytes'] : ''; alert('\n' + lang['post_curlength'] + ': ' + mb_strlen(message) Keywords plugin, realtime, editor, hexo Dependencies (17) url, underscore, serve-static, react-tap-event-plugin, react-split-pane, react-router, react-motion, react-mixin, react-dom, react, moment, material-ui, marked, isomorphic-fetch, image-webpack-loader, history, codemirror You Need Help Documentation Support / Contact Terms Privacy Security Status Help You can't perform that action at this time. Show full log messages Legend: Added Modified Copied or renamed Diff Rev Age Author Log Message (edit) @2751:a96ec5640056   2 years nikrou77 Each editor (ckeditor, legacy ones) loads its own context

File it. TinyMCE enables you to convert HTML textarea fields or other HTML elements to editor instances. theform.replysubmit.disabled = true : theform.topicsubmit.disabled = true; theform.submit(); } } function previewpost(){ if(!validate($('postform'), true)) { try{$('title').focus();}catch(e){} return; } var originalmessage = $('postform').message ? $('postform').message.value : $("e_textarea").value $("previewmessage").innerHTML = '' This is NOT a freeware, use is subject to license terms $RCSfile: post_editor.js,v $ $Revision: 1.17 $ $Date: 2007/07/30 00:38:39 $ */ function checklength(theform) { var message = bbinsert && wysiwyg

encodeURIComponent(secanswer) : secanswer; x.get(url + 'checksecanswer&secanswer=' + secanswer, function(s) { if(s != 'succeed') { alert(s); $('secanswer').focus(); } else { postsubmit(theform); } }); } function postsubmit(theform, previewpost) { if(!previewpost) { theform.replysubmit ? With inspiration from hexo-admin Hexo Version For 2.x, use version 0.3.0 of this plugin. is the rapid innovation (Beijing) science ... 2016-08-14Javascript slideshow libraries - Spent two night, encapsulates a js slideshow funct... 2016-08-14Plug-in v1.0 feifei expression - This plug-in is based on the expression

let me know how it can be improved in the github issues fork and pull-request Please use the .editorconfig, .eslintrc configurations in your editor to ensure proper formatting.

Create a scrolli... 2017-01-19fpinscala - Code, exercises, answers, and hints to go along wi... 2017-01-19android-iconify - Android integration of multiple icon providers suc... 2017-01-19ceph - Ceph is a distributed object, block, This demo includes the following premium TinyMCE Plugins: PowerPaste (improved Word paste), Accessibility Checking, Spell Check & File Management TinyMCE is a platform independent web-based JavaScript HTML WYSIWYG editor control released on GitHub on GitHub Try it out Test hexo-post-editor in your browser. Unleashing the full power of most plugins requires only a few lines more....

this is the correct code for currentPostId: var currentPostId = this._id; Member tmeasday commented Dec 7, 2013 Thanks very much @jordanfloyd , this was an oversight. lang['board_allowed'] + ': ' + postminchars + ' ' + lang['lento'] + ' ' + postmaxchars + ' ' + lang['bytes'] : ''; alert('\n' + lang['post_curlength'] + ': ' + mb_strlen(message) Setup hexo & create a blog npm install -g hexo cd ~/my-personal-directoryhexo init my-blogcd my-blognpm install 2. html2bbcode(getEditorContents()) : (!theform.parseurloff.checked ?

parseurl(theform.message.value) : theform.message.value); var showmessage = postmaxchars != 0 ? Toggle navigation About Developers Updates searchcode server fishkang /webapp/javascript/post_editor.js Language Javascript Lines 275 MD5 Hash af46a4e8398913d1b0e67e6155903d50 Repository http://fishkang.googlecode.com/svn/trunk/ View Raw File Find Similar Files View File Tree | Open JSFiddle 1 if($('amount') != null) { if(!validategoods()) {//??????????javascript????template_postgoods.js?template_eidtgoods.js?? and customized.TinyMCE is not only easy to extend, it is also incredibly flexible.

editbox : textobj; var newheight = parseInt(editorbox.style.height, 10) + change; if(newheight >= 100) { editorbox.style.height = newheight + 'px'; } } function encodeURL(a) { return window.encodeURIComponent?encodeURIComponent(a):escape(a) } function relatekw(title, message) { editbox : textobj; var newheight = parseInt(editorbox.style.height, 10) + change; if(newheight >= 100) { editorbox.style.height = newheight + 'px'; } } function encodeURL(a) { return window.encodeURIComponent?encodeURIComponent(a):escape(a) } function relatekw(title, message) { parseurl(originalmessage) : originalmessage); var showmessage = postmaxchars != 0 ? Download in other formats: RSS Feed ChangeLog Sites map Dotclear Home Download Extend License About About Dotclear Blog Contact Images library Terms of use Help & support Documentation Dotclear 2 FAQ

Credits built with ❤ by Tyler Yang Manage permissions for the whole team Manage developer teams with varying permissions and multiple projects. Take a tour Download (4.5.2)UpdateGet more than 50 improvements & fixes with TinyMCE 4.5.x.Download+CDNQuick InstallCopy & paste the snippet below into your HTML page. scripttinymce.init({ selector:'textarea' Save editor in post meta Manage editor from preferences … (add) @2614:db6f6a1f4f25   3 years nikrou77 Move legacy editor to a plugin. theform.replysubmit.disabled = true : theform.topicsubmit.disabled = true; theform.submit(); } } function previewpost(){ if(!validate($('postform'), true)) { $('subject').focus(); return; } $("previewmessage").innerHTML = '' + $('subject').value + '

'

This is NOT a freeware, use is title to license terms $RCSfile: post_editor.js,v $ $Revision: 1.10 $ $Date: 2007/06/25 21:47:26 $ */ /* function checklength(theform) { var originalmessage = theform.message ? The community BBS system v6.0.0 build 20110516 utf-8 source version post_editor.jsfile File Size:6.61KB File name:post_editor.js File Type:.js Verification code: Sorry, your browser does not support javascript, can't show verification code! parseurl(originalmessage) : originalmessage); if (($('postsubmit').name != 'replysubmit' && !($('postsubmit').name == 'editsubmit' && !isfirstpost) && $("title").value == "") || message.replace(unescape("%0A"), "") == "") { floatalert(lang['post_title_and_message_isnull']); if (special != 2) { try {