乔姆拉。编辑器添加带有 css 规则的标签,我只想要标签!
我遇到了一个问题: 我公司的 SEO 人员说,我们的一个网站(cms - joomla)在文章中的 html 格式很糟糕,他们希望看到它以及 css 文件中 .newclass 的新 css 规则!问题:我可以在 joomla 编辑器中更改内部没有任何 css 的短标签的设置吗?
I encountered a problem:
SEO guys in my company said, that one of our web sites (cms - joomla) have bad html formating at articles- like and they want to see it like and new css rules for .newclass in css file! Question: can i change settings in joomla editor for short tags without any css inside?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一般来说,问题不在于编辑器,而在于将内容添加到网站的方式。大多数人将内容复制并粘贴到编辑器中。您看不到的是,默认情况下您的计算机会尝试保留格式。 Windows 和 OSX 都编写了在幕后添加的非常蹩脚的内联 CSS。最好的选择是将所有内容粘贴为纯文本。我在我做的每个网站上都使用 JCE 编辑器,它有一个粘贴选项,可以将所有内容以纯文本形式粘贴,以便删除所有难看的格式。以这种方式粘贴内容应该可以解决您的问题。
In general, the problem is not the editor, it is the way your content is being added to the site. Most people copy and paste content in to the editor. What you don't see is that by default your computer tries to preserve the formatting. Both Windows and OSX write really crappy inline CSS that is added behind the scenes. Your best bet is to paste everything in as plain text. I use the JCE editor on every site I do and it has a paste option to paste everything in as plain text so that all of the ugly formatting is stripped out. Pasting content in this way should fix your issue.