/mdne-for-kintone

mdne for kintone - Edit kintone fields with powerful markdown and code editor.

Primary LanguageJavaScriptMIT LicenseMIT

๐Ÿ“ mdne for kintone โ˜๏ธ

Edit kintone fields with powerful markdown and code editor.

๐Ÿ“ 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

kintone-md-edit-1b

Launch external markdown editor (mdne) from standard detail view for editing the field

kintone-md-edit-2

Print a record

kintone-md-edit-print-1

kintone-md-edit-print-2

List view

kintone-md-edit-print-1

mdne app's splash screen

kintone-md-edit-splash-scr

๐Ÿ’ป 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.

mdne

See list-mdne.html.

JS and CSS

JS (PC)

  • mdne-kintone-backend.js
    • Please do not register the above URL directly. It is not a CDN URL.
  • 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)

user-app-config.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

Fields

kintone-md-edit-splash-scr

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