codemirror-editor-vue3 icon indicating copy to clipboard operation
codemirror-editor-vue3 copied to clipboard

support user-provided timestamp in custom log mode

Open jasonren0403 opened this issue 1 year ago • 1 comments
trafficstars

currently the timestamp in custom log mode(fclog) is provided inner by calling getLocalTime(), but sometimes we should display logs with user-provided timestamps, and currently there is no way to provide the timestamp.

https://github.com/rennzhang/codemirror-editor-vue3/blob/0dfc00ea2726311aef11a2c084e79d6c7e9e640c/packages/src/components/presetMode/log/utils.ts#L141

jasonren0403 avatar Sep 20 '24 06:09 jasonren0403

让我考虑一下如何调整,有好的想法可以互相讨论或者贡献

rennzhang avatar Sep 20 '24 11:09 rennzhang