I'm trying to load posts from a blog into a panel, but the original styles are a mess. So I'd like to apply my own css. Is it possible?
My code:
showPost: function(list, index, element, record) {
this.getBlog().push({
xtype:'panel',
title: record.get('title'),
html: record.get('content'),
scrollable: true,
config:{
// styleHtmlContent: true,
cls: 'blogExt'
}
});
},
  • styleHtmlContent set to true doesn't work, as it loads the blog styles,
  • styleHtmlContent set to false doesn't work either, as it removes the original style but doesn't allow further styling.
Is there any work around? Thanks in advance.
Fernando