{"id":18413244,"url":"https://github.com/shimataro/cazary","last_synced_at":"2025-07-22T22:05:38.225Z","repository":{"id":23305174,"uuid":"26664691","full_name":"shimataro/cazary","owner":"shimataro","description":"jQuery plugin of WYSIWYG editor that aims for fast, lightweight, stylish, customizable, cross-browser, and multi-language.","archived":false,"fork":false,"pushed_at":"2017-07-01T11:08:17.000Z","size":237,"stargazers_count":13,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-12T12:47:33.791Z","etag":null,"topics":["cross-browser","jquery","jquery-plugin","multi-language","rich-text-editor","wysiwyg","wysiwyg-editor"],"latest_commit_sha":null,"homepage":"http://shimataro.github.io/cazary/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shimataro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-15T01:11:13.000Z","updated_at":"2025-03-09T11:33:05.000Z","dependencies_parsed_at":"2022-09-16T05:21:00.121Z","dependency_job_id":null,"html_url":"https://github.com/shimataro/cazary","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/shimataro/cazary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimataro%2Fcazary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimataro%2Fcazary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimataro%2Fcazary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimataro%2Fcazary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shimataro","download_url":"https://codeload.github.com/shimataro/cazary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shimataro%2Fcazary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580401,"owners_count":23951218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-browser","jquery","jquery-plugin","multi-language","rich-text-editor","wysiwyg","wysiwyg-editor"],"created_at":"2024-11-06T03:45:21.829Z","updated_at":"2025-07-22T22:05:38.208Z","avatar_url":"https://github.com/shimataro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cazary\n======\n\n[![Join the chat at https://gitter.im/shimataro/cazary](https://badges.gitter.im/shimataro/cazary.svg)](https://gitter.im/shimataro/cazary?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![NPM Downloads](https://img.shields.io/npm/dm/cazary.svg)](https://www.npmjs.com/package/cazary)\n\njQuery plugin of WYSIWYG editor that aims for fast, lightweight, stylish, customizable, cross-browser, and multi-language.\n\n[![NPM](https://nodei.co/npm/cazary.svg?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/cazary/)\n\n## jQuery version\n\n* [1.7+](http://code.jquery.com/jquery-1.7.js) (cazary.js)\n* [1.2.4+](http://code.jquery.com/jquery-1.2.4.js) (cazary-legacy.js)\n\n## Supported browsers\n\n* [Internet Explorer](http://windows.microsoft.com/en-us/internet-explorer/download-ie): 8 or later\n* [Mozilla Firefox](http://www.mozilla.com/firefox/): Latest version\n* [Google Chrome](http://www.google.com/chrome/): Latest version\n* [Opera](http://www.opera.com/): version 12(Presto based), 15([Blink](http://www.chromium.org/blink) based)\n* [Safari for Windows](http://support.apple.com/kb/DL1531): version 5\n* [Safari for Mac](https://www.apple.com/jp/safari/): Latest version\n\n## Supported Languages\n\n* English\n* [Japanese](src/i18n/ja.yaml)\n* [Polish](src/i18n/pl.yaml)\n* [Portuguese](src/i18n/pt.yaml)\n* [Brazilian Portuguese](src/i18n/pt-br.yaml)\n\n## How to use\n\n### Traditional method\n\n* Copy `dist` to public directory\n* Load the theme CSS\n\n```html\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"dist/themes/flat/style.css\" /\u003e\n```\n\n* Load jQuery and `cazary.min.js`\n\n```html\n\u003cscript type=\"text/javascript\" src=\"https://code.jquery.com/jquery-1.7.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"dist/cazary.min.js\"\u003e\u003c/script\u003e\n```\n\n* Write JavaScript like this:\n```js\n$(function($)\n{\n\t// that's it!\n\t$(\"textarea\").cazary();\n\n\t// initial mode: HTML\n\t$(\"textarea\").cazary({\n\t\tmode: \"html\"\n\t});\n\n\t// full commands\n\t$(\"textarea\").cazary({\n\t\tcommands: \"FULL\"\n\t});\n});\n```\n\nsee [demo page](demo.html)\n\n### CommonJS method\n\n* Install Cazary by simply typing `npm install cazary`\n* Copy `dist/themes` to public directory (`*.js` is not necessary)\n* Load the theme CSS\n* Write JavaScript like this:\n```js\n// this returns a jQuery object!\nvar $ = require(\"cazary\");\n$(function($)\n{\n\t$(\"textarea\").cazary();\n});\n```\n\n## Options\n\n| name | type | description | default |\n|------|------|-------------|---------|\n| `mode` | String | initial mode (\"rte\" or \"html\") | \"rte\" |\n| `style` | String | style of RTE area | \"body{margin:0px;padding:8px;}p{margin:0px;padding:0px;}\" |\n| `fontnames` | Array | array of fontname | [\"Arial\", \"Arial Black\", \"Comic Sans MS\", \"Courier New\", \"Narrow\", \"Garamond\", \"Georgia\", \"Impact\", \"Sans Serif\", \"Serif\", \"Tahoma\", \"Times New Roman\", \"Trebuchet MS\", \"Verdana\" ] |\n| `colors` | Array (two-dimensional) | color table | [\u003cbr /\u003e[\"#ffffff\", \"#ffcccc\", \"#ffcc99\", \"#ffff99\", \"#ffffcc\", \"#99ff99\", \"#99ffff\", \"#ccffff\", \"#ccccff\", \"#ffccff\"],\u003cbr /\u003e[\"#cccccc\", \"#ff6666\", \"#ff9966\", \"#ffff66\", \"#ffff33\", \"#66ff99\", \"#33ffff\", \"#66ffff\", \"#9999ff\", \"#ff99ff\"],\u003cbr /\u003e[\"#bbbbbb\", \"#ff0000\", \"#ff9900\", \"#ffcc66\", \"#ffff00\", \"#33ff33\", \"#66cccc\", \"#33ccff\", \"#6666cc\", \"#cc66cc\"],\u003cbr /\u003e[\"#999999\", \"#cc0000\", \"#ff6600\", \"#ffcc33\", \"#ffcc00\", \"#33cc00\", \"#00cccc\", \"#3366ff\", \"#6633ff\", \"#cc33cc\"],\u003cbr /\u003e[\"#666666\", \"#990000\", \"#cc6600\", \"#cc9933\", \"#999900\", \"#009900\", \"#339999\", \"#3333ff\", \"#6600cc\", \"#993399\"],\u003cbr /\u003e[\"#333333\", \"#660000\", \"#993300\", \"#996633\", \"#666600\", \"#006600\", \"#336666\", \"#000099\", \"#333399\", \"#663366\"],\u003cbr /\u003e[\"#000000\", \"#330000\", \"#663300\", \"#663333\", \"#333300\", \"#003300\", \"#003333\", \"#000066\", \"#330099\", \"#330033\"]\u003cbr /\u003e] |\n| `commands` | String or Array | pre-defined macro or (array of) space-separated commands (see below) | \"STANDARD\" |\n\n## Commands\n\n* `commands` option must be specified one of followings:\n    * one of \"pre-defined macros\"\n    * any combination of space-separated commands or `|`(separator)\n* set of commands can be array\n* see below about pre-defined macros and commands\n\n### pre-defined macros\n\n| name | is expanded to... |\n|------|----------------|\n| `MINIMAL` | [\"bold italic underline strikethrough removeformat\"] |\n| `STANDARD` | [\u003cbr /\u003e\"fontname fontsize\",\u003cbr /\u003e\"bold italic underline strikethrough removeformat \u0026#x7c; forecolor backcolor \u0026#x7c; superscript subscript\",\u003cbr /\u003e\"source\"\u003cbr /\u003e] |\n| `FULL` | [\u003cbr /\u003e\"fontname fontsize\",\u003cbr /\u003e\"bold italic underline strikethrough removeformat \u0026#x7c; forecolor backcolor \u0026#x7c; superscript subscript\",\u003cbr /\u003e\"justifyleft justifycenter justifyright justifyfull \u0026#x7c; indent outdent \u0026#x7c; insertorderedlist insertunorderedlist\",\u003cbr /\u003e\"inserthorizontalrule insertimage createlink unlink\",\u003cbr /\u003e\"undo redo\",\u003cbr /\u003e\"source\"\u003cbr /\u003e] |\n\n### commands (inline styles)\n\n| name | description |\n|------|-------------|\n| `fontname` | set font name |\n| `fontsize` | set font size |\n| `bold` | set style to bold |\n| `italic` | set style to italic |\n| `underline` | set style to underline |\n| `strikethrough` | set style to strikethrough |\n| `removeformat` | remove all format |\n| `forecolor` | set foreground color |\n| `backcolor` | set background color |\n| `superscript` | set style to superscript |\n| `subscript` | set style to subscript |\n\n### commands (block styles)\n\n| name | description |\n|------|-------------|\n| `justifyleft` | align current block to left |\n| `justifycenter` | align current block to center |\n| `justifyright` | align current block to right |\n| `justifyfull` | justify current block |\n| `indent` | indent current block |\n| `outdent` | un-indent current block |\n| `insertorderedlist` | set current block to ordered list |\n| `insertunorderedlist` | set current block to un-ordered list |\n\n### commands (insertion / creation)\n\n| name | description |\n|------|-------------|\n| `inserthorizontalrule` | insert horizontal rule to current position |\n| `insertimage` | insert image to current position current position |\n| `createlink` | create link to selected text |\n| `unlink` | remove link of selected text |\n\n### commands (editing)\n\n| name | description |\n|------|-------------|\n| `undo` | undo command |\n| `redo` | undo the undone command |\n| `source` | toggle HTML/RTE mode |\n\n## Project page\n\nhttp://github.com/shimataro/cazary\n\n## Documents for developers\n\n* [How to build](doc/HOW_TO_BUILD.md)\n* [How to translate](doc/HOW_TO_TRANSLATE.md)\n\n## Release note\n\n* 2016-12-10 *version 1.2.3*\n\t* Using ECMAScript6 syntax\n\t* Add `npm run update-packages` command\n\n* 2016-10-29 *version 1.2.2*\n\t* `change` event refreshes WYSIWYG area\n\n* 2016-03-06 *version 1.2.1*\n\t* Generate `demo-legacy.html` and `src/cazary-legacy.js` automatically\n\t* Modularize Sass mixins\n\t* Equip documents\n\n* 2016-02-19 *version 1.2.0*\n\t* SVG toolbar icons (for HD screen)\n\t* Changed directory structure\n\n* 2015-11-22 *version 1.1.2*\n\t* Supports Portuguese/Brazilian Portuguese (by [Luiz Eduardo Simões](https://github.com/LinkForce))\n\t* build method: `npm run build`\n\n* 2015-11-07 *version 1.1.1*\n\t* `require(\"cazary\")` returns a jQuery object\n\n* 2015-11-06 *version 1.1.0*\n\t* Supports [CommonJS](http://www.commonjs.org/).\n\t* Translation data format to [YAML](http://yaml.org/).\n\t* Build by [gulp.js](http://gulpjs.com/).\n\n* 2015-10-08 *version 1.0.1*\n\t* Fixed Polish translation.\n\n* 2015-10-06 *version 1.0*\n\t* First release.\n\n## Recruitment\n\nI'm looking for human resources.\n[Please contact me in my GitHub page!](https://github.com/shimataro)\n\n* **translators** - except English and Japanese (translate from English or Japanese)\n* **designers** - please create cool themes!\n\n## Credits\n\n* **[yuqianyumo](https://github.com/jqueryscript)** - Introducing Cazary in [website](http://www.jqueryscript.net/text/Simple-Html-WYSIWYG-Editor-Plugin-with-jQuery-Cazary.html)\n* **Paweł Klockiewicz** - Polish Translation\n* **[Luiz Eduardo Simões](https://github.com/LinkForce)** - Portuguese/Brazilian Portuguese Translation\n* **[GNU FreeFont](https://www.gnu.org/software/freefont/)** - \"flat\" theme uses FreeSans\n* **Brad Owen** - Testing on Safari for Mac\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimataro%2Fcazary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshimataro%2Fcazary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshimataro%2Fcazary/lists"}