open-notebook/frontend
Luis Novo 6dc9a3db50
feat: detect HTML content in clipboard for text sources (#475)
* chore: bump content-core to support html to markdown

* feat: detect HTML content in clipboard for text sources

- Add paste handler to detect text/html format in clipboard
- Use HTML content instead of plain text when available
- Display info message when HTML is detected
- Add translations for all supported languages (en-US, pt-BR, ja-JP, zh-CN, zh-TW)

* fix: reset HTML detection banner on plain text paste

Clear the hasHtmlContent flag when pasting plain text (no HTML in
clipboard) so the banner doesn't persist incorrectly after replacing
HTML content with plain text.
2026-01-25 21:36:58 -03:00
..
public Version 1 (#160) 2025-10-18 12:46:22 -03:00
src feat: detect HTML content in clipboard for text sources (#475) 2026-01-25 21:36:58 -03:00
.gitignore chore: export docs for custom gpt 2025-10-18 20:26:11 -03:00
components.json Version 1 (#160) 2025-10-18 12:46:22 -03:00
eslint.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
next.config.ts fix: add type assertion for experimental proxyClientMaxBodySize config 2026-01-09 20:44:43 -03:00
package-lock.json chore(deps-dev): bump tar from 7.5.3 to 7.5.6 in /frontend (#454) 2026-01-21 23:50:02 -03:00
package.json chore: post-i18n cleanup and version bump to 1.5.0 (#433) 2026-01-15 14:20:13 -03:00
postcss.config.mjs Version 1 (#160) 2025-10-18 12:46:22 -03:00
start-server.js fix: use Node.js wrapper for cross-platform PORT fallback 2026-01-14 22:51:39 -03:00
tailwind.config.ts Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00
tsconfig.json Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00
vitest.config.ts Feat/localization tests docker (#371) 2026-01-15 13:51:05 -03:00