Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

What does the "editorEnabled" option do in the project configuration?

  • 2BITS_PL
  • 2BITS_PL's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago - 2 months 3 weeks ago #267033 by 2BITS_PL
Please help us help you and fill where relevant:
Your LimeSurvey version: v6.6.3
Own server or LimeSurvey hosting: Own server
Survey theme/template: default
==================
I am upgrading a project to v6 from v5 and found the "editorEnabled" option in the configuration, which is set to false.

Do I understand correctly that this option enables SPA (Single Page Application)?
Why is it disabled by default?
What are the benefits and potential issues it might cause?
Which part of the service does it affect?
Last edit: 2 months 3 weeks ago by 2BITS_PL.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 months 3 weeks ago #267039 by DenisChenu
Where is this option ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • 2BITS_PL
  • 2BITS_PL's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #267045 by 2BITS_PL
in the configuration file
Code:
config-default.php
(at the very end)
Code:
// Enable or disable single page application editor
$config['editorEnabled'] = false;
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 months 3 weeks ago - 2 months 3 weeks ago #267046 by DenisChenu
Thank you,

I do not know the purpose too
Code:
application/core/TopbarConfiguration.php:        $editorEnabled = $event->get('isEditorEnabled');
application/core/TopbarConfiguration.php:        if ($editorEnabled===null) {
application/core/TopbarConfiguration.php:            $editorEnabled = Yii::app()->getConfig('editorEnabled') ?? false;
application/core/TopbarConfiguration.php:            'editorEnabled' => $editorEnabled,
application/views/questionAdministration/partial/topbarBtns/questionTopbarRight_view.php:    'editorEnabled' => $editorEnabled
application/views/questionAdministration/partial/topbarBtns/editQuestionTopbarRight_view.php:    'editorEnabled' => $editorEnabled
application/views/questionGroupsAdministration/partial/topbarBtns/groupTopbarRight_view.php:        'editorEnabled' => $editorEnabled
application/views/surveyAdministration/partial/topbar/surveyTopbarRight_view.php: * @var bool   $editorEnabled
application/views/surveyAdministration/partial/topbar/surveyTopbarRight_view.php:     'editorEnabled' => $editorEnabled
application/views/surveyAdministration/partial/topbar/_newQuestionEditorBtn.php:if (isset($editorEnabled) && $editorEnabled && $editorUrl) {

Seems to add a button

You can create the bug report ?
Need a manual page

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 2 months 3 weeks ago by DenisChenu.

Please Log in to join the conversation.

  • 2BITS_PL
  • 2BITS_PL's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #267050 by 2BITS_PL
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose