AnidemDex / AnidemDex/Godot-DialogPlugin

More involved Text Editor interface with buttons for BBCode

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
GDScript
星标
215
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the feature / enhancement and how it helps to overcome the problem or limitation

Very similar to what you get when you write anything on Github:
![image](https://user-images.githubusercontent.com/3470436/148778409-3c11afbf-0a23-48df-9501-59de47c26dc3.png)

Have buttons for every known [bbcode option](https://docs.godotengine.org/en/stable/tutorials/gui/bbcode_in_richtextlabel.html), plus elegant support for [custom effects](https://docs.godotengine.org/en/stable/tutorials/gui/bbcode_in_richtextlabel.html#custom-bbcode-tags-and-text-effects) in the future.

Additionally, there could be syntax highlighting for the text editor to color bbcode tags less intrusively, and apply their effects during editing, similar to how Discord markdown applies itself mid-typing:
![image](https://user-images.githubusercontent.com/3470436/148778784-3d215937-96e6-43c2-a97f-ab5d2fbe0134.png)

This was actually previously achieved by [@fantoser ](https://github.com/Fantoser/) as a proof of concept but on the old pre-event system version:
![](https://i.imgur.com/HG7KScn.gif)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。