Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Included in the framework example is an RTE.css file.
Although it's not wired up to the 'Richtext editor' data type is suspect that's just an oversight and it should be.
Looking at the file it contains:
img.align-left { float: left; margin: 0 10px 10px 0;} img.align-center { display: block; margin: 0 auto 10px;} img.align-right { float: right; margin: 0 0 10px 10px;}
I'm just wondering how it is expected to work and hoping to raise my understanding.
Can you explain the intention?
Thanks, Matt
Hello,
You're right it should be wired up to the RTE. It's so we can align images in the RTE easier. You can read more about it here: http://www.theoutfield.net/blog/2013/06/aligning-images-in-umbraco-tinymce-with-css-classes. All changes from that blog should already be in the Hybrid Framework.
Jeroen
Ah OK I understand now. It's pretty neat.
I think the updated version of tiny_mce_src.js is missing from the farmework project which is why it didn't seem to do much when I tried it.
I've updated it with bits from the blog post and it works fine.
Regards,
Matt
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
RTE.css
Included in the framework example is an RTE.css file.
Although it's not wired up to the 'Richtext editor' data type is suspect that's just an oversight and it should be.
Looking at the file it contains:
img.align-left {
float: left;
margin: 0 10px 10px 0;
}
img.align-center {
display: block;
margin: 0 auto 10px;
}
img.align-right {
float: right;
margin: 0 0 10px 10px;
}
I'm just wondering how it is expected to work and hoping to raise my understanding.
Can you explain the intention?
Thanks, Matt
Hello,
You're right it should be wired up to the RTE. It's so we can align images in the RTE easier. You can read more about it here: http://www.theoutfield.net/blog/2013/06/aligning-images-in-umbraco-tinymce-with-css-classes. All changes from that blog should already be in the Hybrid Framework.
Jeroen
Ah OK I understand now. It's pretty neat.
I think the updated version of tiny_mce_src.js is missing from the farmework project which is why it didn't seem to do much when I tried it.
I've updated it with bits from the blog post and it works fine.
Regards,
Matt
is working on a reply...