బుల్లెట్ జాబితా
అనేక అంశాలను క్రమం లేకుండా జాబితా చేసే జాబితా ఇది. ఖాళీ పేరాలో - తర్వాత స్పేస్ కీ నొక్కి లేదా టూల్బార్లో మార్చి దీన్ని సృష్టించవచ్చు. ఎంచుకున్న పేరాలను కూడా ఒకేసారి జాబితాగా మార్చవచ్చు.
జాబితాలో ట్యాబ్ కీ నొక్కితే ఒక స్థాయి లోపలికి వెళ్తుంది, షిఫ్ట్+ట్యాబ్ నొక్కితే బయటికి వస్తుంది. ఎంటర్ కీ నొక్కితే తదుపరి అంశం ఏర్పడుతుంది; ఖాళీ అంశంలో మళ్లీ ఎంటర్ కీ నొక్కితే జాబితా ముగుస్తుంది.
వింగ్స్
ప్రాథమిక అక్షరరూపంఆఫ్సెట్
HTMLఎడిటర్ లోడ్ అవుతోంది…
JSONnabi-treeఎడిటర్ లోడ్ అవుతోంది…
ఇన్స్టాల్
npm install nabi-noteకోడ్
import {
createNabiWith, mountSurface, mountToolbar, mountContextToolbar,
mountHints, watchSettle, headingWing, bulletListWing, orderedListWing,
mountViewTools,
} from 'nabi-note'
const selected = [
headingWing,
bulletListWing,
orderedListWing,
]
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: 'te' })
const settle = watchSettle(document, { surface: content })
const shared = { nabi, registry, surface: content, settle, locale: 'te' }
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('ul').build()