Yanick Witschi
Yanick Witschi
I wonder if we should deprecate the `StringUtil::stripInsertTags()` and not use it at all anymore. If you want the insert tags to be replaced, it should be done before you...
Will be 4.13 compatible so this isn't of great use for me just yet 😓
I guess what he means is that `tl_page::generateArticle()` does not load the `tl_article` DCA and check for any defaults...
I would just solve this very specific case... So [here](https://github.com/contao/core/blob/549738f9a41974d963bd09a3a83ae0f46f887f01/system/modules/core/dca/tl_page.php#L1090) I would use [this](https://github.com/contao/core/blob/master/system/modules/core/drivers/DC_Table.php#L896) piece of code.
Yeah well, all the lines: https://github.com/contao/core/blob/master/system/modules/core/drivers/DC_Table.php#L893-L905
You are right. What about extracting that code into its own method (e.g. `public function copyField()`) and then reuse it.
These "workspace" features are usually pretty hard to implement and need to be very well modelled. In my opinion this is really something we should consider for version 3 because...
> Do we have insert tags that behave that way? We could have, I think. Imho it would be great if the insert tag knew the desired context and could...
Random thought: Your `OutputType` is actually just a content type. Might reuse mine types maybe? Using `symfony/mime` or so…just thinking out loud here :)
I just wondered why we limit it to a few given types. Why is it important to know something is an URL rather than just text. Imho it's about the...