aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/editor.mjs
Commit message (Collapse)AuthorAge
...
* feat: use Escape and F1 to switch preview/editorHsieh Chin Fan2024-09-24
|
* feat(CSS): add focus visual to editor and outputHsieh Chin Fan2024-09-24
|
* feat: add util "removeBlockFocus"Hsieh Chin Fan2024-09-24
|
* feat: add focusNextBlock utilHsieh Chin Fan2024-09-24
|
* feat: disable debounce temporarily to check performanceHsieh Chin Fan2024-09-24
|
* feat: remove keydown events from dumbymapHsieh Chin Fan2024-09-23
| | | | | | | | | | | | * events now handed by editor * this fix document.onkeydown reset when generatedMaps() called more than one time * apply "bind" to remove methods about user interaction from generateMaps() * refactor focusNextmap(), using array to store rendered maps BREAKING CHANGE: generateMaps() now return dumbymap Object, contains key elements and methods
* refactor: rename data attribute for editorHsieh Chin Fan2024-09-22
| | | | | | data-layout -> data-mode This prevents confusing with data-layout in dumbymap
* fix: apply new layout name in editorHsieh Chin Fan2024-09-21
|
* chore(release): update mapclay to 0.6.7Hsieh Chin Fan2024-09-21
|
* feat: move anchor to newline after doc separator completionHsieh Chin Fan2024-09-20
|
* fix: don't show suggestion list in caseHsieh Chin Fan2024-09-19
|
* feat: swith focus map by tab key and clickHsieh Chin Fan2024-09-18
| | | | | | | | | | * Use data-focus attribute and MutationObserver to move map-container between Sementic HTML and Showcase. * Currently set return value of docuement.onkeydown in editor, then reset onkeydown function in dumbymap. Maybe there is a better way? * CSS to make placeholder not so obvious
* fix: update text decoration properlyHsieh Chin Fan2024-09-16
|
* fix: prevent autosave overrides content from hashHsieh Chin Fan2024-09-16
|
* feat: Set callback for click eventHsieh Chin Fan2024-09-15
|
* chore: eslintHsieh Chin Fan2024-09-15
|
* style: Reformat codeHsieh Chin Fan2024-09-15
|
* feat: Render maps directly be debounceHsieh Chin Fan2024-09-15
|
* feat: Switch layout by attributeHsieh Chin Fan2024-09-15
|
* refactor(CSS): Rename class name for HTML holderHsieh Chin Fan2024-09-15
| | | | result-html => DumbyMap
* refactor: Use hidden element as anchor of suggestion listHsieh Chin Fan2024-09-15
| | | | | Since suggestion list is not widget anymore, it could be seen outside of editor
* feat: Completion for text sequenceHsieh Chin Fan2024-09-15
| | | | | | * Type "-" or "`", autocomplet for YMAL doc separator or code fence * Delete a char of YAML doc separator or code fence, auto empty current line * Prevent more content after YAML doc separator
* style: More code blocksHsieh Chin Fan2024-09-13
|
* patchHsieh Chin Fan2024-09-13
|
* chore: Remove button of fullscreen modeHsieh Chin Fan2024-09-13
|
* fix: Logic about suggestionsHsieh Chin Fan2024-09-13
| | | | | * Switch to event 'onCursorActivity' for suggestions * Show suggestion about Renderer without case sensitive
* feat: Style code block even line is emptyHsieh Chin Fan2024-09-13
|
* chore: Fix warning from eslintHsieh Chin Fan2024-09-12
|
* feat: Use Query Params to render mapsHsieh Chin Fan2024-09-11
|
* feat: Use object to store content in hashHsieh Chin Fan2024-09-11
| | | | Maybe can put more metadata inside object
* style: reformat codeHsieh Chin Fan2024-09-11
|
* feat: Use CSS selector on DocLinksHsieh Chin Fan2024-09-11
| | | | | | * Now module export method createDocLinks() * DocLink now decides target by CSS selector in title with prefix "=>", or just by doc fragment
* style: Reformat commentsHsieh Chin Fan2024-09-11
|
* fix: Shortcut for toggling map generationHsieh Chin Fan2024-09-11
|
* chore: Modify source of config fileHsieh Chin Fan2024-09-11
|
* feat: Add autosaveHsieh Chin Fan2024-09-11
|
* refactor: Switch to EasyMDEHsieh Chin Fan2024-09-11
| | | | | | | | EasyMDE is based on codemirror, so completion and more features maybe applied later. * Now suggestions also works in EasyMDE * For preview, change return value of markdown2HTML()
* revert: Don't warn when save cancelsHsieh Chin Fan2024-09-10
|
* feat: Update editor content by hashHsieh Chin Fan2024-09-10
|
* chore: Improve eslintHsieh Chin Fan2024-09-09
|
* feat: Remove spellcheck betterHsieh Chin Fan2024-09-09
|
* feat: Don't add suggestions in casesHsieh Chin Fan2024-09-09
|
* feat: Save content in hashHsieh Chin Fan2024-09-09
|
* style: Improve code readabilityHsieh Chin Fan2024-09-09
|
* refactor: Apply API name for new vesion of mapclayHsieh Chin Fan2024-09-09
|
* chore: Improve commentsHsieh Chin Fan2024-09-07
|
* Initial CommitHsieh Chin Fan2024-09-07