vue-html5-editor接收数据,使用vue-quill-editor,获得到输入内容的html,怎样才能在外部的div中有跟编辑器里...

我已经能使用vue-quill-editor获得到输入文本的html结构了,就像作者DEMO网站中的一样

比如获得到:

I am Example 2!

Whenever you play the game of thrones, you either win or die. There is no middle ground.

Some war against sword and spear to win, and the others the crow and the paper to win.

Dead history is write in ink, the living sort in blood.

They're only numbers. Numbers on paper. Once you understand that, it's easy to make them behave.

Every time we deal with an enemy, we create two more.

So the king has decreed. The small council consents.

Chaos not is a pit, chaos is a ladder.

A chain needs all sorts of metals, and a land needs all sorts of people.

When the snows fall and the white winds blow, the lone wolf dies, but the pack survives.

这样的一串html,但是我在另一个页面中,引入quill的三个css之后,显示的跟在编辑器中的样子差别很大。大概结构是

...//在这里放得到的html

结构也是模仿编辑器中的,可是显示的还是很不一样。

怎么才能让得到的这串html显示的跟在编辑器中的一样呢?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值