Skip to content
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

富文本元素 #50

Open
xinglie opened this issue Jul 9, 2021 · 4 comments
Open

富文本元素 #50

xinglie opened this issue Jul 9, 2021 · 4 comments
Labels
元素介绍 介绍项目中部分元素的操作或特点

Comments

@xinglie
Copy link
Owner

xinglie commented Jul 9, 2021

文本

image

文本元素目前支持简单的富文本,如图所示,如果内容中包含HTML标签,则可以打开富文本选项,进行富文本的显示

文本只支持简单的富文本,对于较长的富文本在打印时并不会进行分页打印,如果需要分页,请参考后续的几个富文本元素

富文本-静态输入

image

对于需要输入较复杂的静态富文本时,可使用ckeditor进行输入,该富文本元素在打印时支持分页打印。

富文本-数据绑定

image

通常富文本会是由服务端指定或生成,此时可以使用支持数据绑定的富文本元素,该元素支持分页打印

富文本-HTML

image

如果用户有一定的编程基础,也可以使用HTML片断,输入自己想要的HTML,且可以和数据绑定配合,以动态生成相应的HTML片断。其中模板引擎选用underscore的template方法。

@xinglie xinglie added the 元素介绍 介绍项目中部分元素的操作或特点 label Jul 9, 2021
@xinglie xinglie changed the title 富文本元素介绍 富文本元素 Apr 13, 2023
@WinnerDuDu
Copy link

富文本 ckeditor加载失败呢

@xinglie
Copy link
Owner Author

xinglie commented Apr 23, 2024

富文本 ckeditor加载失败呢

cdn不稳定,下个版本将会尝试从多个cdn来保证正确加载

@WinnerDuDu
Copy link

富文本 ckeditor加载失败呢

cdn不稳定,下个版本将会尝试从多个cdn来保证正确加载

我尝试替换了一个稳定的url,也是加载失败。 //cdn.ckeditor.com/ckeditor5/41.3.1/classic/ckeditor.js

@WinnerDuDu
Copy link

顺便借楼请教大佬一个问题,magix相关的资源和文档都404了,请问大佬是有什么规划吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
元素介绍 介绍项目中部分元素的操作或特点
Projects
None yet
Development

No branches or pull requests

2 participants