-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【bug】代码块不支持的代码语言直接消失无法编辑 #119
Comments
blinko-space
pushed a commit
that referenced
this issue
Nov 18, 2024
github-actions bot
pushed a commit
that referenced
this issue
Nov 18, 2024
## [0.3.10](v0.3.9...v0.3.10) (2024-11-18) ### Bug Fixes * code block empty [#119](#119) ([c3c2b0f](c3c2b0f))
大佬修的好快! |
blinko-space
pushed a commit
that referenced
this issue
Dec 9, 2024
blinko-space
pushed a commit
that referenced
this issue
Dec 9, 2024
## [0.3.10](v0.3.9...v0.3.10) (2024-11-18) ### Bug Fixes * code block empty [#119](#119) ([4b3b958](4b3b958))
github-actions bot
pushed a commit
that referenced
this issue
Dec 9, 2024
# 1.0.0 (2024-12-09) ### Bug Fixes * [#124](#124) add version number ([e48007b](e48007b)) * [#126](#126) iframe editor issue ([bceb4cb](bceb4cb)) * add card columns option [#155](#155) ([2eb121b](2eb121b)) * add tag link [#156](#156) ([1b1b720](1b1b720)) * adjust margin for list item rendering in Markdown component ([18f8d01](18f8d01)) * ai button ui issue [#218](#218) ([cf9f15c](cf9f15c)) * ai writing ([662ec5c](662ec5c)) * allow More Columns for Desktop mode [#243](#243) ([8edc9e0](8edc9e0)) * api auth issue ([32c5c8f](32c5c8f)) * api isShare not working ([6fe318f](6fe318f)) * article view tag issue [#186](#186) ([050231b](050231b)) * AttachmentsRender ui ([034eed5](034eed5)) * autocomplate issue ([ac9639c](ac9639c)) * BlinkoMultiSelectPop style ([672bb50](672bb50)) * build error ([5703b1c](5703b1c)) * build error ([3cfa325](3cfa325)) * button action ([7349b53](7349b53)) * button direction ([13d26d0](13d26d0)) * card style ([96a806d](96a806d)) * code block annotations are treated as tags [#192](#192) ([93f90e4](93f90e4)) * code block empty [#119](#119) ([4b3b958](4b3b958)) * code render issue ([f9a0cbc](f9a0cbc)) * compatible with chrome 108 devices above height calculation issue [#111](#111) ([36a4c21](36a4c21)) * corn job issue [#252](#252) ([bd3466e](bd3466e)) * delete file not delete attachments ([35ff0d3](35ff0d3)) * editor render issue [#165](#165) ([4c1e782](4c1e782)) * editor render issue [#175](#175) [#177](#177) [#176](#176) ([5b6ccde](5b6ccde)) * editor ui height ([46828a0](46828a0)) * embeddingUpsert logic ([8a61902](8a61902)) * emoji picker dialog issue ([30d7889](30d7889)) * enhance BlinkoEditor and BlinkoMultiSelectPop components ([138094b](138094b)) * enhance context handling in TRPC procedures ([a808d10](a808d10)) * enhance DBJob to include additional fields in notes retrieval ([9a13d70](9a13d70)) * enhance editor focus behavior and clean up imports ([4b10d5d](4b10d5d)) * enhance image rendering with responsive grid and error handling improvements ([3bf4ad5](3bf4ad5)) * enhance Markdown rendering and improve table ([7a5b59c](7a5b59c)) * enhance sidebar functionality and layout responsiveness [#244](#244) ([e18a7f9](e18a7f9)) * escape character replace issue [#143](#143) ([52585d2](52585d2)) * file upload issue ([06969f3](06969f3)) * follow System theme settings for dark / light mode [#219](#219) ([1946c85](1946c85)) * image width ([5a708c9](5a708c9)) * implement file streaming for large file downloads ([bfe5e63](bfe5e63)) * imporve virtual card [#206](#206) ([ae9c183](ae9c183)) * improve ios ux ([80627c5](80627c5)) * improve list item rendering and remove unnecessary console log ([e3857be](e3857be)) * improve mobile ([ffef849](ffef849)) * improve mobile add button [#238](#238) ([38327cb](38327cb)) * improve mobile toolbar ([c5c70f9](c5c70f9)) * improve more device card setting ([dd5d005](dd5d005)) * improve side bar ([aa80d5e](aa80d5e)) * include activityType in webhook payload for SendWebhook function ([e76c5d9](e76c5d9)) * ios can not line break ([03bd05f](03bd05f)) * ios editor focus issue& update mobile editor style ([562bf1c](562bf1c)) * layout height style ([8cf2a82](8cf2a82)) * line break hashtag render issue [#167](#167) ([36ea05b](36ea05b)) * list item render issue ([98a952e](98a952e)) * memos image import ([cd9f805](cd9f805)) * ol decimal render issue [#189](#189) ([766c600](766c600)) * perf s3 client ([cf3b0ec](cf3b0ec)) * prevent video playback from propagating double-click events [#228](#228) ([df6069e](df6069e)) * RAG date support [#208](#208) ([eda72fe](eda72fe)) * refacotr editor page ([d328bbf](d328bbf)) * release actions ([34f68be](34f68be)) * remove imort check logic [#178](#178) ([fea2bab](fea2bab)) * remove mobile toolbar icon [#171](#171) ([45bc8e7](45bc8e7)) * remove preview image raduis ([10bf541](10bf541)) * remove progress bar delay & improve ux [#207](#207) ([422f684](422f684)) * replace framer-motion to motion ([c50e9b7](c50e9b7)) * s3 api key password input [#187](#187) ([e623f1d](e623f1d)) * s3 cache ([405d493](405d493)) * s3 delete file & import file ([c3df603](c3df603)) * send button loading status ([a335422](a335422)) * style ([7c87100](7c87100)) * support ai tag & improve article ui ([a9b05a8](a9b05a8)) * support webhook ([e743383](e743383)) * tag select ui style ([bd6e501](bd6e501)) * tag support keyboard event [#161](#161) ([25f05b9](25f05b9)) * test bot ([1d12ebb](1d12ebb)) * thumbnail orientation ([938d057](938d057)) * ui [#152](#152) [#149](#149) [#148](#148) ([f3f0460](f3f0460)) * ui add user table max height ([4ca49dc](4ca49dc)) * ui container ([42e9802](42e9802)) * ui issue [#158](#158) [#157](#157) ([af6701c](af6701c)) * ui issue hashtag not visible [#162](#162) ([f122a20](f122a20)) * ui send button color ([5ded668](5ded668)) * update AWS SDK dependencies and refactor S3 file retrieval to use signed URLs [#216](#216) ([6b29cb8](6b29cb8)) * update Chinese translations and improve SendButton component functionality ([b471fdf](b471fdf)) * update editor CSS for improved layout and consistency ([fa5e552](fa5e552)) * update LinkPreview component to accept text prop and improve link rendering [#250](#250) ([1841775](1841775)) * update markdown heading margins and add spacing in github-markdown.css ([4482b67](4482b67)) * update noteListFilterConfig to handle trash route correctly ([70a9044](70a9044)) * update PWA theme color management [#265](#265) ([0a5a523](0a5a523)) * updateTagName type issue [#221](#221) ([87f54cf](87f54cf)) * User ID and password not cleared [#101](#101) ([6c2ebda](6c2ebda)) * vercel build ([c4aee37](c4aee37)) ### Features * add advanced setting & ai markdown support [#198](#198) [#202](#202) ([fbb0528](fbb0528)) * add support for new markdown rendering features and libraries ([0b41b10](0b41b10)) * **arabic-translation:** Add Complete Arabic Localization for Blinko Interface ([eeeb16f](eeeb16f)) * enhance BlinkoCard footer to display archived status and refine note query logic ([a59e390](a59e390)) * mobile support camera ([d067b3b](d067b3b)) * postgres data persisting ([4cee83f](4cee83f)), closes [#20](#20) * support ai emoji & custom icon [#226](#226) [#234](#234) ([9b09019](9b09019)) * support ai enhance search ([b52f687](b52f687)) * support ai write assisant ([c79c2c0](c79c2c0)) * support blog view ([955c9eb](955c9eb)) * support blog view mode ([4be23d8](4be23d8)) * support ollama ([8a03e88](8a03e88)) * support reference ([1b5188f](1b5188f)) * support s3 object storage [#34](#34) ([4af84b7](4af84b7)) * support select embedding model [#184](#184) [#180](#180) ([98034a2](98034a2)) * support source code mode & improve ai writing ([3192ddb](3192ddb)) * support trash bin ([f2dbbc2](f2dbbc2)) * support user setting ([d7ab3be](d7ab3be))
github-actions bot
pushed a commit
that referenced
this issue
Dec 9, 2024
# 1.0.0 (2024-12-09) ### Bug Fixes * [#124](#124) add version number ([e48007b](e48007b)) * [#126](#126) iframe editor issue ([bceb4cb](bceb4cb)) * add card columns option [#155](#155) ([2eb121b](2eb121b)) * add tag link [#156](#156) ([1b1b720](1b1b720)) * adjust margin for list item rendering in Markdown component ([18f8d01](18f8d01)) * ai button ui issue [#218](#218) ([cf9f15c](cf9f15c)) * ai writing ([662ec5c](662ec5c)) * allow More Columns for Desktop mode [#243](#243) ([8edc9e0](8edc9e0)) * api auth issue ([32c5c8f](32c5c8f)) * api isShare not working ([6fe318f](6fe318f)) * article view tag issue [#186](#186) ([050231b](050231b)) * AttachmentsRender ui ([034eed5](034eed5)) * autocomplate issue ([ac9639c](ac9639c)) * BlinkoMultiSelectPop style ([672bb50](672bb50)) * build error ([5703b1c](5703b1c)) * build error ([3cfa325](3cfa325)) * button action ([7349b53](7349b53)) * button direction ([13d26d0](13d26d0)) * card style ([96a806d](96a806d)) * clear editor state and emit view mode change in EditorStore [#268](#268) ([c4be055](c4be055)) * code block annotations are treated as tags [#192](#192) ([93f90e4](93f90e4)) * code block empty [#119](#119) ([4b3b958](4b3b958)) * code render issue ([f9a0cbc](f9a0cbc)) * compatible with chrome 108 devices above height calculation issue [#111](#111) ([36a4c21](36a4c21)) * corn job issue [#252](#252) ([bd3466e](bd3466e)) * delete file not delete attachments ([35ff0d3](35ff0d3)) * editor render issue [#165](#165) ([4c1e782](4c1e782)) * editor render issue [#175](#175) [#177](#177) [#176](#176) ([5b6ccde](5b6ccde)) * editor ui height ([46828a0](46828a0)) * embeddingUpsert logic ([8a61902](8a61902)) * emoji picker dialog issue ([30d7889](30d7889)) * enhance BlinkoEditor and BlinkoMultiSelectPop components ([138094b](138094b)) * enhance context handling in TRPC procedures ([a808d10](a808d10)) * enhance DBJob to include additional fields in notes retrieval ([9a13d70](9a13d70)) * enhance editor focus behavior and clean up imports ([4b10d5d](4b10d5d)) * enhance image rendering with responsive grid and error handling improvements ([3bf4ad5](3bf4ad5)) * enhance Markdown rendering and improve table ([7a5b59c](7a5b59c)) * enhance sidebar functionality and layout responsiveness [#244](#244) ([e18a7f9](e18a7f9)) * escape character replace issue [#143](#143) ([52585d2](52585d2)) * file upload issue ([06969f3](06969f3)) * follow System theme settings for dark / light mode [#219](#219) ([1946c85](1946c85)) * image width ([5a708c9](5a708c9)) * implement file streaming for large file downloads ([bfe5e63](bfe5e63)) * imporve virtual card [#206](#206) ([ae9c183](ae9c183)) * improve ios ux ([80627c5](80627c5)) * improve list item rendering and remove unnecessary console log ([e3857be](e3857be)) * improve mobile ([ffef849](ffef849)) * improve mobile add button [#238](#238) ([38327cb](38327cb)) * improve mobile toolbar ([c5c70f9](c5c70f9)) * improve more device card setting ([dd5d005](dd5d005)) * improve side bar ([aa80d5e](aa80d5e)) * include activityType in webhook payload for SendWebhook function ([e76c5d9](e76c5d9)) * ios can not line break ([03bd05f](03bd05f)) * ios editor focus issue& update mobile editor style ([562bf1c](562bf1c)) * layout height style ([8cf2a82](8cf2a82)) * line break hashtag render issue [#167](#167) ([36ea05b](36ea05b)) * list item render issue ([98a952e](98a952e)) * memos image import ([cd9f805](cd9f805)) * ol decimal render issue [#189](#189) ([766c600](766c600)) * perf s3 client ([cf3b0ec](cf3b0ec)) * prevent video playback from propagating double-click events [#228](#228) ([df6069e](df6069e)) * RAG date support [#208](#208) ([eda72fe](eda72fe)) * refacotr editor page ([d328bbf](d328bbf)) * release actions ([34f68be](34f68be)) * remove imort check logic [#178](#178) ([fea2bab](fea2bab)) * remove mobile toolbar icon [#171](#171) ([45bc8e7](45bc8e7)) * remove preview image raduis ([10bf541](10bf541)) * remove progress bar delay & improve ux [#207](#207) ([422f684](422f684)) * replace framer-motion to motion ([c50e9b7](c50e9b7)) * s3 api key password input [#187](#187) ([e623f1d](e623f1d)) * s3 cache ([405d493](405d493)) * s3 delete file & import file ([c3df603](c3df603)) * send button loading status ([a335422](a335422)) * style ([7c87100](7c87100)) * support ai tag & improve article ui ([a9b05a8](a9b05a8)) * support webhook ([e743383](e743383)) * tag select ui style ([bd6e501](bd6e501)) * tag support keyboard event [#161](#161) ([25f05b9](25f05b9)) * test bot ([1d12ebb](1d12ebb)) * thumbnail orientation ([938d057](938d057)) * ui [#152](#152) [#149](#149) [#148](#148) ([f3f0460](f3f0460)) * ui add user table max height ([4ca49dc](4ca49dc)) * ui container ([42e9802](42e9802)) * ui issue [#158](#158) [#157](#157) ([af6701c](af6701c)) * ui issue hashtag not visible [#162](#162) ([f122a20](f122a20)) * ui send button color ([5ded668](5ded668)) * update AWS SDK dependencies and refactor S3 file retrieval to use signed URLs [#216](#216) ([6b29cb8](6b29cb8)) * update Chinese translations and improve SendButton component functionality ([b471fdf](b471fdf)) * update editor CSS for improved layout and consistency ([fa5e552](fa5e552)) * update LinkPreview component to accept text prop and improve link rendering [#250](#250) ([1841775](1841775)) * update markdown heading margins and add spacing in github-markdown.css ([4482b67](4482b67)) * update noteListFilterConfig to handle trash route correctly ([70a9044](70a9044)) * update PWA theme color management [#265](#265) ([0a5a523](0a5a523)) * updateTagName type issue [#221](#221) ([87f54cf](87f54cf)) * User ID and password not cleared [#101](#101) ([6c2ebda](6c2ebda)) * vercel build ([c4aee37](c4aee37)) ### Features * add advanced setting & ai markdown support [#198](#198) [#202](#202) ([fbb0528](fbb0528)) * add support for new markdown rendering features and libraries ([0b41b10](0b41b10)) * **arabic-translation:** Add Complete Arabic Localization for Blinko Interface ([eeeb16f](eeeb16f)) * enhance BlinkoCard footer to display archived status and refine note query logic ([a59e390](a59e390)) * mobile support camera ([d067b3b](d067b3b)) * postgres data persisting ([4cee83f](4cee83f)), closes [#20](#20) * support ai emoji & custom icon [#226](#226) [#234](#234) ([9b09019](9b09019)) * support ai enhance search ([b52f687](b52f687)) * support ai write assisant ([c79c2c0](c79c2c0)) * support blog view ([955c9eb](955c9eb)) * support blog view mode ([4be23d8](4be23d8)) * support ollama ([8a03e88](8a03e88)) * support reference ([1b5188f](1b5188f)) * support s3 object storage [#34](#34) ([4af84b7](4af84b7)) * support select embedding model [#184](#184) [#180](#180) ([98034a2](98034a2)) * support source code mode & improve ai writing ([3192ddb](3192ddb)) * support trash bin ([f2dbbc2](f2dbbc2)) * support user setting ([d7ab3be](d7ab3be))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如我创建一个如下内容的闪念
提交之后再选择编辑可以正常显示如下
![image](https://private-user-images.githubusercontent.com/37688296/386843230-22fae29a-f821-428b-a017-23dc64927218.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTk5MTAsIm5iZiI6MTczOTI5OTYxMCwicGF0aCI6Ii8zNzY4ODI5Ni8zODY4NDMyMzAtMjJmYWUyOWEtZjgyMS00MjhiLWEwMTctMjNkYzY0OTI3MjE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE4NDY1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0OWUzNmVmMTBhNmI4NzVlZjAzM2I1ZjZiMDIxZjM1NDEzMzFiZjdjNmJkMjk0Yzc5NjlmNDA5MGI4MDU2MjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rR13MHegPUQSfU5hKAZAvL1Oha5TVnX61jPLjbHPu_s)
但如果我将c改为当前不支持的cpp
可以正常展示,但一旦我选择编辑,从代码块开始往下所有内容(包括其他正常文字,该例子中未体现)都将全部消失。
![image](https://private-user-images.githubusercontent.com/37688296/386843340-ca6b9ad7-44ea-41da-ad0b-c57a44ec41be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTk5MTAsIm5iZiI6MTczOTI5OTYxMCwicGF0aCI6Ii8zNzY4ODI5Ni8zODY4NDMzNDAtY2E2YjlhZDctNDRlYS00MWRhLWFkMGItYzU3YTQ0ZWM0MWJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE4NDY1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViZmE5OTk0NGE5NzRiNDJkOTcyYThhMzAyNjNjN2NmMDQyYTI0YmI4M2U5NmRhNDJmM2JkOTkyZGY5OTJhNzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._ZnF_0yKGpy2ueXwNmCgtjbowLuPvlA8Hr4lAki_N0M)
我尝试了各种方式再也无法修改该闪念。只能删除重建。
希望可以尽快解决该问题,至少不影响正常的编辑。
因为从ai的回复中复制的答案通常会有五花八门的代码格式
最后再提一个建议,希望代码块可以增加复制按钮。
The text was updated successfully, but these errors were encountered: