froala编辑器不能很好地工作 [英] froala editor not working perfectly

查看:423
本文介绍了froala编辑器不能很好地工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用froala编辑器将CMS内容插入到数据库中。但它不能很好地工作,我将内容安排在左侧,图像安排在右侧,它在编辑器中正确对齐,但在我的视图页中(从数据库获取内容)
$ b

 在编辑器中

 在查看页面



任何人都请帮助我

解决方案

您必须在视图中包含 froala_page.min.css 来修复图像对齐。

另外,在编辑模式下,编辑器文本左对齐。在您的视图模式下,文本会与中心对齐,因为您有一些覆盖该文本的CSS。


I am using froala editor for insert CMS content to database.But it not work perfectly , I am arrange content in left side and image in right side , it aligned correctly in editor , but in my view page (get content from database) it not aligned correctly.

In editor

In View page

Anyone please help me

解决方案

You have to include froala_page.min.css in your view to fix image alignment.

Also, in edit mode, the editor text is aligned to left. In your view mode the text is aligned to center because you have some CSS that overrides that.

这篇关于froala编辑器不能很好地工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆