After Upgrading from Magento 2.2.7 to Magento 2.3, I am getting this error Undefined class constant 'WYSIWYG_EDITOR_CONFIG_PATH' in admin and frontend. Received this issue right after upgrading. The upgrade process was successful.
<script>
require.config({
map: {
'*': {
wysiwygAdapter: '<br />
<b>Fatal error</b>: Uncaught Error: Undefined class constant 'WYSIWYG_EDITOR_CONFIG_PATH' in /private/www/magento23.local/vendor/magento/module-ui/Block/Wysiwyg/ActiveEditor.php:56
Stack trace:
#0 /private/www/magento23.local/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml(18): Magento\Ui\Block\Wysiwyg\ActiveEditor->getWysiwygAdapterPath()
#1 /private/www/magento23.local/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/private/www/ic...')
#2 /private/www/magento23.local/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Ui\Block\Wysiwyg\ActiveEditor), '/private/www/ic...', Array)
#3 /private/www/magento23.local/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/private/www/ic...')
#4 /private/www/magento23.local/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml()
#5 /private in <b>/private/www/magento23.local/vendor/magento/module-ui/Block/Wysiwyg/ActiveEditor.php</b> on line <b>56</b><br />