Skip to content

行级元素支持多重样式类型 #2911

Closed
@iSylleo

Description

@iSylleo

该方案相关变更:

旧版本不兼容新版本数据格式,所以一旦升级到新版本以后,所有端都必须使用新版本,否则行级元素会丢失。 建议升级前手动备份一次数据,所有端都安装好新版本以后再启动。


以下是原提议:

Describe the problem

编辑文字无法选择叠加多个样式, 如 加粗+斜体, 斜体+颜色, 只能选择单一样式.

一种解决办法是手动输入标记, 如 加粗+斜体, 并且只能按照如下顺序输入:

  1. ***
  2. ***test
  3. ***test***

加粗+链接:

  1. **[test](link
  2. **[test](link)**

因为一旦提前输入了完整的样式标记符号, 如 ****, 再将光标移至中间就会使得只有第一个字母被添加上样式 (中文可能是因为输入法原因好像没这个问题)

Expected result

可以为一段文字叠加多个样式, 如 加粗+链接, 加粗+斜体/删除线/下划线 等等.

手动输入多有不便, 还是希望可以选择多个样式叠加.

Screenshot or screen recording presentation

stack_style

Version environment

  • Version: v1.3.4
  • Operating system: Windows 10 21H1
  • Browser (if used):

Log File

More information

Activity

88250

88250 commented on Sep 13, 2021

@88250
Member

这个比较复杂,暂时不做改进,后面要做的话会重开,谢谢。

changed the title [-]文本编辑叠加多个样式[/-] [+]行级排版元素嵌套和交叉[/+] on Sep 13, 2021
iSylleo

iSylleo commented on Sep 13, 2021

@iSylleo
Author

👌

self-assigned this
on Sep 27, 2021
added this to the backlog milestone on Oct 8, 2021
reopened this on Oct 8, 2021
88250

88250 commented on Oct 9, 2021

@88250
Member

加粗使转义符暴露 #2849
下划线覆盖公式问题 #3277

177 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@jabobian@bestv5@iSylleo

      Issue actions

        行级元素支持多重样式类型 · Issue #2911 · siyuan-note/siyuan