Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shellyln/mdne-for-kintone
mdne for kintone - Edit kintone fields with powerful markdown and code editor.
https://github.com/shellyln/mdne-for-kintone
javascript kintone lisp liyad lsx markdown markdown-editor markdown-it mdne menneu
Last synced: 7 days ago
JSON representation
mdne for kintone - Edit kintone fields with powerful markdown and code editor.
- Host: GitHub
- URL: https://github.com/shellyln/mdne-for-kintone
- Owner: shellyln
- License: mit
- Created: 2019-06-16T02:51:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T12:54:36.000Z (over 5 years ago)
- Last Synced: 2024-12-01T08:46:12.081Z (2 months ago)
- Topics: javascript, kintone, lisp, liyad, lsx, markdown, markdown-editor, markdown-it, mdne, menneu
- Language: JavaScript
- Size: 1.95 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ๐ mdne for kintone โ๏ธ
### Edit kintone fields with powerful markdown and code editor.* mdne - Markdown Neo Edit
* [npm](https://www.npmjs.com/package/mdne)
* [github](https://github.com/shellyln/mdne)# ๐ Features
* Launch external markdown editor (mdne) from standard detail view for editing the field.
* Render markdown fields in the standard detail view and standard print view.# ๐ผ Gallery
## View markdown fields with standard detail view
* Click `Edit` button to launch the external editor (mdne).
* Click `Reload` button to refresh the contents edit by external editor.![kintone-md-edit-1a](images/kintone-md-edit-1a.png)
![kintone-md-edit-1b](images/kintone-md-edit-1b.png)
## Launch external markdown editor (mdne) from standard detail view for editing the field
![kintone-md-edit-2](images/kintone-md-edit-2.png)
## Print a record
![kintone-md-edit-print-1](images/kintone-md-edit-print-1.png)
![kintone-md-edit-print-2](images/kintone-md-edit-print-2.png)
## List view
![kintone-md-edit-print-1](images/kintone-md-edit-listview-1.png)
## mdne app's splash screen
![kintone-md-edit-splash-scr](images/kintone-md-edit-splash-scr.png)
# ๐ป Requiments
* kintone (>=Professional:en / >=Standard:jp)
* browser
* Google Chrome: latest
* Firefox: latest# โ๏ธ Setup
## ๐ Markdown Editor App
Launch mdne (Markdown Neo Edit) as a external markdown editor for editing the fields.
### List views
#### Welcome
* Please set the default list view.
See [list-welcome.html](https://github.com/shellyln/mdne-for-kintone/blob/master/src/md-editor-app/list-welcome.html).
#### mdne
See [list-mdne.html](https://github.com/shellyln/mdne-for-kintone/blob/master/src/md-editor-app/list-mdne.html).
### JS and CSS
#### JS (PC)
* [mdne-kintone-backend.js](https://github.com/shellyln/mdne-for-kintone/blob/master/src/md-editor-app/mdne-kintone-backend.js)
* **Please do not register the above URL directly. It is not a CDN URL.**
* [loading.js](https://github.com/shellyln/mdne-for-kintone/blob/master/src/md-editor-app/loading.js)
* **Please do not register the above URL directly. It is not a CDN URL.**#### CSS
No stylesheets needed.
### Fields
No fields needed.
------
## ๐ Meeting Minutes App
Customize the following application example.
https://kintone-sol.cybozu.co.jp/apps/005-gijiroku.html (๐ ่ญฐไบ้ฒ็ฎก็ App; Meeting Minutes App)### JS and CSS
#### JS (PC)
* https://unpkg.com/react@16/umd/react.production.min.js
* https://unpkg.com/react-dom@16/umd/react-dom.production.min.js
* https://unpkg.com/[email protected]/contents/assets/vendor/menneu-0.1.0/menneu.min.js
* [user-app-config.js](https://github.com/shellyln/mdne-for-kintone/blob/master/src/meeting-minutes-app/user-app-config.js)
* **Please do not register the above URL directly. It is not a CDN URL.**
* Please edit this file to show the button of the defined report.
* XLcCNs2aUCv93L7W__EDITOR_APP_ID
* XLcCNs2aUCv93L7W__EDITOR_VIEW_ID
* XLcCNs2aUCv93L7W__TARGET_FIELD_SETS
* [user-app-events.js](https://github.com/shellyln/mdne-for-kintone/blob/master/src/meeting-minutes-app/user-app-events.js)
* **Please do not register the above URL directly. It is not a CDN URL.**`user-app-config.js`
```js
const XLcCNs2aUCv93L7W__EDITOR_APP_ID = '18';
const XLcCNs2aUCv93L7W__EDITOR_VIEW_ID = '5118342';const XLcCNs2aUCv93L7W__TARGET_FIELD_SETS = [{
textFieldCode: 'document',
displayFieldCode: 'document_display',
buttonFieldCode: 'document_buttons',
ext: 'md',
}, {
textFieldCode: 'decisions',
displayFieldCode: 'decisions_display',
buttonFieldCode: 'decisions_buttons',
ext: 'md',
}, {
textFieldCode: 'issues',
displayFieldCode: 'issues_display',
buttonFieldCode: 'issues_buttons',
ext: 'md',
}];
```#### CSS
* [51-modern-default.css](https://github.com/kintone/plugin-examples/blob/master/stylesheet/51-modern-default.css)
* **Please do not register the above URL directly. It is not a CDN URL.**### Fields
![kintone-md-edit-splash-scr](images/kintone-md-edit-app-design-1.png)
|Field Code|Caption|Value|Type|Required|
|----------|-------|-----|----|--------|
|title|ใฟใคใใซ||Textbox||
|date|ๆฅไป||Date|X|
|flags|Flags|Important,Archived|Checkboxes||
||ๅ ๅฎน||Label||
|document_buttons|||BlankSpace||
|document|ๅ ๅฎน||Textarea||
|document_display|||BlankSpace||
||ๆฑบๅฎไบ้ ||Label||
|decisions_buttons|||BlankSpace||
|decisions|ๆฑบๅฎไบ้ ||Textarea||
|decisions_display|||BlankSpace||
||่ชฒ้ก||Label||
|issues_buttons|||BlankSpace||
|issues|่ชฒ้ก||Textarea||
|issues_display|||BlankSpace||
|attendee|ๅๅ ่ ||UserSelect||
|person_concerned|ๅๅ ่ ไปฅๅคใฎ้็ฅๅ ||UserSelect||
|attachments|่ณๆ||Attachements||
|ไฝๆ่ |ไฝๆ่ ||creator|X|
|ไฝๆๆฅๆ|ไฝๆๆฅๆ||createdDt|X|
|ๆดๆฐ่ |ๆดๆฐ่ ||modifier|X|
|ๆดๆฐๆฅๆ|ๆดๆฐๆฅๆ||updatedDt|X|------
# โ๏ธ License
* MIT
Copyright (c) 2019 Shellyl_N