์ ํ : ๋ฒ๊ทธ
ํ๋ซํผ : ios 8 ์น๋ทฐ
๋๋ ์ด๊ฒ์ ๋ด CSS ํ์ผ์ ๋ฃ์๋ค.
div[contenteditable=true] {
-webkit-user-select: auto !important;
-khtml-user-select: auto !important;
-moz-user-select: auto !important;
-ms-user-select: auto !important;
-o-user-select: auto !important;
user-select: auto !important;
}
๋ด ์ด์จ ํจ๋์ ๋ค์์ด ์์ต๋๋ค.
<div id='input' contenteditable=true >
test
</div>
๊ทธ๊ฒ์ ๋ธ๋ผ์ฐ์ ์ ์๋๋ก์ด๋์์ ์ ์๋ํ์ง๋ง ios์์๋ ์ด div๋ฅผ ํด๋ฆญํ ๋ ์ปค์๊ฐ ํ์๋์ง ์์ต๋๋ค. ๊ทธ๋๋ ๋ด์ฉ์ ํธ์งํ ์๋ ์์ต๋๋ค.
@Nick-The-Uncharted ํด๊ฒฐ์ฑ ์ ๋ฌด์์ด์์ต๋๊น?
[contenteditable] {
-webkit-user-select: text;
user-select: text;
}
๋ฌธ์ ๋ฅผ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค! ์ด ๋ฌธ์ ๋ ์๋ ๋ฌธ์ ์ ๊ด๋ จ์ด ์๋ ๋๊ธ์ ๋ฐฉ์งํ๊ธฐ ์ํด ์ ๊ฒจ ์์ต๋๋ค. ์ด๊ฒ์ด ์ฌ์ ํ ์ต์ ๋ฒ์ ์ Ionic์์ ๋ฌธ์ ๊ฐ ๋๋ ๊ฒฝ์ฐ ์ ๋ฌธ์ ๋ฅผ ๋ง๋ค๊ณ ํ ํ๋ฆฟ์ด ์์ ํ ์ฑ์์ก๋์ง ํ์ธํ์ญ์์ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@Nick-The-Uncharted ํด๊ฒฐ์ฑ ์ ๋ฌด์์ด์์ต๋๊น?