@ -7,7 +7,6 @@ import ReplyIndicatorContainer from '../containers/reply_indicator_container';
import AutosuggestTextarea from '../../../components/autosuggest_textarea' ;
import UploadButtonContainer from '../containers/upload_button_container' ;
import { defineMessages , injectIntl } from 'react-intl' ;
import Collapsable from '../../../components/collapsable' ;
import SpoilerButtonContainer from '../containers/spoiler_button_container' ;
import PrivacyDropdownContainer from '../containers/privacy_dropdown_container' ;
import SensitiveButtonContainer from '../containers/sensitive_button_container' ;
@ -160,17 +159,15 @@ export default class ComposeForm extends ImmutablePureComponent {
< div className = 'compose-form' >
< WarningContainer / >
< Collapsable isVisible = { this . props . spoiler } fullHeight = { 50 } >
< div className = 'spoiler-input' >
< label >
< span style = { { display : 'none' } } > { intl . formatMessage ( messages . spoiler_placeholder ) } < / s p a n >
< input placeholder = { intl . formatMessage ( messages . spoiler_placeholder ) } value = { this . props . spoiler_text } onChange = { this . handleChangeSpoilerText } onKeyDown = { this . handleKeyDown } type = 'text' className = 'spoiler-input__input' id = 'cw-spoiler-input' / >
< / l a b e l >
< / d i v >
< / C o l l a p s a b l e >
< ReplyIndicatorContainer / >
< div className = { ` spoiler-input ${ this . props . spoiler ? 'spoiler-input--visible' : '' } ` } >
< label >
< span style = { { display : 'none' } } > { intl . formatMessage ( messages . spoiler_placeholder ) } < / s p a n >
< input placeholder = { intl . formatMessage ( messages . spoiler_placeholder ) } value = { this . props . spoiler_text } onChange = { this . handleChangeSpoilerText } onKeyDown = { this . handleKeyDown } type = 'text' className = 'spoiler-input__input' id = 'cw-spoiler-input' / >
< / l a b e l >
< / d i v >
< div className = 'compose-form__autosuggest-wrapper' >
< AutosuggestTextarea
ref = { this . setAutosuggestTextarea }