It's not extremely common, but you can find significantly extended versions of published papers out there on arXiv, authors' websites, and the like. And at least in my filed of research it doesn't seem like that big of a problem to post an extended version after publication if there is a merit and clear reason to do so instead of cramming everything in one place or writing a weak paper out of what is left out.
For example, this paper on arXiv is an extended version of a paper published in the IEEE Transactions on Information Theory and explicitly states when it was first submitted to the journal, when a revised version was submitted, and when the extended version was uploaded to arXiv (which was after submitting the revised version to the journal but before it got accepted for publication). There is a slightly updated version of the extended one on the personal webpage of one of the authors as well.
In any case, I think it's generally a good idea to respect the editor's opinion unless you have a strong reason not to follow their suggestion. But you may also want to ask the editor if the journal has online-only storage for supplementary materials to officially attach what they asked you to cut out and/or if the journal is ok with uploading the originally submitted, longer version to arXiv. If arXiv is common in your field, I highly doubt they say no to posting the longer manuscript online; if it's not allowed to post a preprint you submit to a journal, how on earth can we use arXiv as a preprint server anyway? What would they do if you had already posted the longer manuscript on arXiv before submission to the journal, for example?
My feeling is that as long as you don't abuse the system, it's ok to post an extended, fuller version online (with a clear note that it is an extended version of a shorter paper). So, for example, if the editor is not happy about a lengthy, marginal part which you think is helpful and of interest to some but perhaps not all readers, I don't see any reason not to upload your original manuscript to arXiv. You should check the journal's policy and the norm in your field first, though.