Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

모바일에서도 쪽지 발신시 에디터를 쓰게 해주세요. #2341

Closed
wookho opened this issue Nov 6, 2018 · 0 comments
Closed

Comments

@wookho
Copy link

wookho commented Nov 6, 2018

저희는 오래전부터 모바일에서도 , 서명에서도 에디터를 사용하게 해서 고쳐서 쓰고 있습니다.
모바일 사용 비중이 월등히 높아진 지도 수년이 지났습니다.
모바일에서는 제외하는 그런 방침은 이제 모두 철회되어야 합니다.

저희는

// set a signiture by calling getEditor of the editor module
$oEditorModel = getModel('editor');
$option = new stdClass();
$option->primary_key_name = 'receiver_srl';
$option->content_key_name = 'content';
$option->allow_fileupload = FALSE;
$option->enable_autosave = FALSE;
$option->enable_default_component = TRUE; // FALSE;
$option->enable_component = FALSE;
$option->resizable = FALSE;
$option->disable_html = TRUE;
$option->height = 150;
$option->skin = $this->communication_config->editor_skin;
$option->colorset = $this->communication_config->editor_colorset;
$editor = $oEditorModel->getEditor($logged_info->member_srl, $option);

위와 같은 코드를 PC쪽의 파일에서 차용해서 모바일 쪽
https://github.com/xpressengine/xe-core/blob/develop/modules/communication/communication.mobile.php

에 추가해서 모바일 쪽지에서도 에디터를 사용하고 있습니다.

서명부분이 위 코드로 함께 되었는지는 너무 오래전 일이라 기억이 나질 않네요.

@ghost ghost self-assigned this Nov 6, 2018
@ghost ghost added the type/enhancement label Dec 10, 2018
@ghost ghost added this to the 1.11.2 milestone Dec 10, 2018
ghost pushed a commit that referenced this issue Dec 11, 2018
- 쪽지 발신 후 페이지 이동 개선
@ghost ghost closed this as completed Dec 11, 2018
@ghost ghost added this to 이슈 종료 in 이슈 진행 상황 via automation Dec 11, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant