சரிபார்ப்புப் பட்டியல்
நிறைவடைந்ததா என்பதைக் கொண்ட பட்டியல் இது. வெற்றுப் பத்தியில் [ ] அல்லது [x] க்குப் பிறகு Space ஐ அழுத்தவும் அல்லது கருவிப்பட்டையில் உருவாக்கி, தேர்வுப் பெட்டியை அழுத்தி நிலையை மாற்றவும்.
தேர்வு நிலை உருப்படியின் பண்புக்கூறாக ஆவணத்துடன் சேமிக்கப்படுகிறது. உருப்படியைப் பிரிக்கும்போது, தேர்வு நிலை வெற்று முன் உருப்படியைப் பின்தொடராமல் எழுத்து உள்ள உருப்படியைப் பின்தொடரும்; எனவே முடித்த பணியை இரண்டாகப் பிரித்தாலும் நிலை மாறாது.
சிறகுகள்
அடிப்படை எழுத்துருஇடமாற்றம்
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: 'ta' })
const settle = watchSettle(document, { surface: content })
const shared = { nabi, registry, surface: content, settle, locale: 'ta' }
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()