They were not in the Mediterranean, but there are on a semi permanent basis 4-6 ships in the west Indian ocean.The news of six (or four) Chinese warships in the Medditerranean Sea is fake news. Apparently, the news source was from which got picked up from various media outlets like and now is making it's round in social media. All that is known is the former 44th anti-piracy task force just wrapped up it's joint exercise with Oman and left presumably back home. It's understandable that the Muslim world wants China to be more active in the Middle East region to kick out the US. However, I wouldn't call it glorification, it's more in line with hope.
The truth is, why should China make big moves now, when the overall setting is going exactly as planned? 4 years ago, China was wrestling US over control on Iraq. 2 years ago, China was wrestling US over control on Saudis. Nowadays, Saudi and Iraq are fait accompli, and now US has to send troops to deal with a situation in Israel.
The whole story is a tale of progressively moving the front forward.
China follows practical geopolitics. They will "save" Palestine only if it is the best course of action for Chinese influence in the ME. This may come to pass if Israel becomes irredeemable for China.
But otherwise, there are other options which also let China advance the front that doesn't involve killing IDF. China could as well allow a quagmire to take place, tire out the right wing Israeli government and then make a new deal with the opposition, whereupon the terrorism inflicted on Palestine can be forgotten in exchange for alignment, like how the terrorism of Saudis in Yemen was forgotten.