NABI NOTE
নথি

চেকলিস্ট

সম্পন্ন হওয়ার অবস্থা থাকা তালিকা। খালি অনুচ্ছেদে [ ] বা [x]-এর পরে Space লিখুন, অথবা টুলবারে তৈরি করে check box চেপে অবস্থা বদলান।

চেক করার অবস্থা আইটেমের attribute হিসেবে নথিতে একসঙ্গে সংরক্ষিত হয়। আইটেম ভাগ করলে চেক অবস্থা খালি আগের আইটেমের বদলে লেখা থাকা আইটেমকে অনুসরণ করে; তাই সম্পন্ন কাজ দুটো করলেও অবস্থা উল্টে যায় না।

ডানা
ডিফল্ট ফন্টউচ্চতা
HTMLসম্পাদক লোড হচ্ছে…
JSONnabi-treeসম্পাদক লোড হচ্ছে…
ইনস্টল
npm install nabi-note
কোড
import {
  createNabiWith, mountSurface, mountToolbar, mountContextToolbar,
  mountHints, watchSettle, orderedListWing, taskListWing, tableWings,
  mountViewTools,
} from 'nabi-note'

const selected = [
  orderedListWing,
  taskListWing,
  ...tableWings,
]
const { nabi, registry } = createNabiWith(selected)

const root = document.querySelector('.nabi')!
const content = document.querySelector('.nabi-content')!

// The locale also sets the direction — Arabic and Urdu run right to left
mountSurface({ nabi, registry, root: content, locale: 'bn' })

const settle = watchSettle(document, { surface: content })
const shared = { nabi, registry, surface: content, settle, locale: 'bn' }
const toolbar = mountToolbar({ ...shared, root: document.querySelector('#toolbar')! })
const context = mountContextToolbar({ ...shared, root: document.querySelector('#context')! })
mountHints({ toolbar, context, root, surface: content })
// The preview and fullscreen buttons — they stand their own box at the end of the row
mountViewTools({ ...shared, root, container: document.querySelector('#toolbar')! })

// on every change — hook up your own code here
// nabi.onChange(() => user_callback(nabi.getHtml()))
ts
const selected = wings().use('tl').build()