Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网站,我在其中嵌入了微型 mce,以允许用户编辑网站上的主要内容。
问题在于,如果用户突出显示第一行并单击居中按钮,则整个文档(多个段落)的文本对齐方式都会居中。
有人看过这个或有什么建议吗?
您确定这些段落是真正的多个段落(即<P>源代码中的标签而不是简单的两个换行符(即<br />)标签吗?
<P>
<br />
如果是这种情况,那么只需培训您的用户推送Enter而不是Shift+Enter